mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
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>
This commit is contained in:
parent
ad8d8f3bc6
commit
177e449dc5
5 changed files with 24 additions and 22 deletions
|
@ -203,7 +203,7 @@ int run_guest(struct lg_cpu *cpu, unsigned long __user *user)
|
|||
/* Check if there are any interrupts which can be delivered
|
||||
* now: if so, this sets up the hander to be executed when we
|
||||
* next run the Guest. */
|
||||
maybe_do_interrupt(lg);
|
||||
maybe_do_interrupt(cpu);
|
||||
|
||||
/* All long-lived kernel loops need to check with this horrible
|
||||
* thing called the freezer. If the Host is trying to suspend,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue