diff options
author | Glauber de Oliveira Costa <gcosta@redhat.com> | 2008-01-07 08:05:34 -0500 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2008-01-30 06:50:12 -0500 |
commit | 66686c2ab08feb721ca4d98285fba64acdf6017f (patch) | |
tree | bae76c0e0dc78809abc83b8f0dc9f84dca702de0 /drivers/lguest/hypercalls.c | |
parent | fc708b3e407dfd2e12ba9a6cf35bd0bffad1796d (diff) |
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) | |||
88 | break; | 88 | break; |
89 | case LHCALL_HALT: | 89 | case LHCALL_HALT: |
90 | /* Similarly, this sets the halted flag for run_guest(). */ | 90 | /* Similarly, this sets the halted flag for run_guest(). */ |
91 | lg->halted = 1; | 91 | cpu->halted = 1; |
92 | break; | 92 | break; |
93 | case LHCALL_NOTIFY: | 93 | case LHCALL_NOTIFY: |
94 | lg->pending_notify = args->arg1; | 94 | lg->pending_notify = args->arg1; |