lguest: make emulate_insn receive a vcpu struct.
authorGlauber de Oliveira Costa <gcosta@redhat.com>
Mon, 7 Jan 2008 13:05:31 +0000 (11:05 -0200)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 30 Jan 2008 11:50:10 +0000 (22:50 +1100)
commita3863f68b0d7fe2073c0f4efe534ec87a685c4fa
treee9fa7b67b7687f3f882e44654bd758671f7accb5
parent0c78441cf4dd66f66e23dc085f0cc1e3e8669b96
lguest: make emulate_insn receive a vcpu struct.

emulate_insn() needs to know about current eip, which will be,
in the future, a per-vcpu thing. So in this patch, the function
prototype is modified to receive a vcpu struct

Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/lguest/x86/core.c