lguest: per-cpu run guest
authorGlauber de Oliveira Costa <gcosta@redhat.com>
Mon, 7 Jan 2008 13:05:25 +0000 (11:05 -0200)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 30 Jan 2008 11:50:06 +0000 (22:50 +1100)
commitd0953d42c3445a120299fac9ad70e672d77898e9
treea631abb2c154bec66cec05508423da705d02f35b
parent4dcc53da49c2387078fe8ceb7a420d125e027fc6
lguest: per-cpu run guest

This patch makes the run_guest() routine use the lg_cpu struct.
This is required since in a smp guest environment, there's no
more the notion of "running the guest", but rather, it is "running the vcpu"

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/lg.h
drivers/lguest/lguest_user.c
drivers/lguest/x86/core.c