diff options
author | Glauber de Oliveira Costa <gcosta@redhat.com> | 2008-01-07 08:05:29 -0500 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2008-01-30 06:50:09 -0500 |
commit | 177e449dc5bd4cf8dc48d66abee61ddf34b126b9 (patch) | |
tree | f0aaea9407971d8f6b9ad4e177a834f1be3aa993 /drivers/lguest/x86 | |
parent | ad8d8f3bc61ec712dd141e1029ae68c47fadc4a7 (diff) |
lguest: per-vcpu interrupt processing.
This patch adapts interrupt processing for using the vcpu struct.
Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/lguest/x86')
-rw-r--r-- | drivers/lguest/x86/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/lguest/x86/core.c b/drivers/lguest/x86/core.c index 5962160aff3d..66f48fcc1196 100644 --- a/drivers/lguest/x86/core.c +++ b/drivers/lguest/x86/core.c | |||
@@ -342,7 +342,7 @@ void lguest_arch_handle_trap(struct lg_cpu *cpu) | |||
342 | } | 342 | } |
343 | 343 | ||
344 | /* We didn't handle the trap, so it needs to go to the Guest. */ | 344 | /* We didn't handle the trap, so it needs to go to the Guest. */ |
345 | if (!deliver_trap(lg, lg->regs->trapnum)) | 345 | if (!deliver_trap(cpu, lg->regs->trapnum)) |
346 | /* If the Guest doesn't have a handler (either it hasn't | 346 | /* If the Guest doesn't have a handler (either it hasn't |
347 | * registered any yet, or it's one of the faults we don't let | 347 | * registered any yet, or it's one of the faults we don't let |
348 | * it handle), it dies with a cryptic error message. */ | 348 | * it handle), it dies with a cryptic error message. */ |