lguest: make hypercalls use the vcpu struct
authorGlauber de Oliveira Costa <gcosta@redhat.com>
Mon, 7 Jan 2008 13:05:27 +0000 (11:05 -0200)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 30 Jan 2008 11:50:08 +0000 (22:50 +1100)
commit73044f05a4ac65f2df42753e9566444b9d2a660f
tree80a3e1d1bda31a769554a8c51f8c189ccec0b9f8
parent7ea07a1500f05e06ebf0136763c781244f77a2a1
lguest: make hypercalls use the vcpu struct

this patch changes do_hcall() and do_async_hcall() interfaces (and obviously their
callers) to get a vcpu struct. Again, a vcpu services the hypercall, not the whole
guest

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