diff options
author | Glauber de Oliveira Costa <gcosta@redhat.com> | 2008-01-07 16:05:34 +0300 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2008-01-30 14:50:12 +0300 |
commit | 66686c2ab08feb721ca4d98285fba64acdf6017f (patch) | |
tree | bae76c0e0dc78809abc83b8f0dc9f84dca702de0 /drivers/lguest/hypercalls.c | |
parent | fc708b3e407dfd2e12ba9a6cf35bd0bffad1796d (diff) | |
download | linux-66686c2ab08feb721ca4d98285fba64acdf6017f.tar.xz |
lguest: per-vcpu lguest task management
lguest uses tasks to control its running behaviour (like sending
breaks, controlling halted state, etc). In a per-vcpu environment,
each vcpu will have its own underlying task. So this patch
makes the infrastructure for that possible
Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/lguest/hypercalls.c')
-rw-r--r-- | drivers/lguest/hypercalls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/lguest/hypercalls.c b/drivers/lguest/hypercalls.c index 6f8c70ae380d..83323b1cc0b2 100644 --- a/drivers/lguest/hypercalls.c +++ b/drivers/lguest/hypercalls.c @@ -88,7 +88,7 @@ static void do_hcall(struct lg_cpu *cpu, struct hcall_args *args) break; case LHCALL_HALT: /* Similarly, this sets the halted flag for run_guest(). */ - lg->halted = 1; + cpu->halted = 1; break; case LHCALL_NOTIFY: lg->pending_notify = args->arg1; |