• Avi Kivity's avatar
    KVM: Non-atomic interrupt injection · b463a6f7
    Avi Kivity authored
    Change the interrupt injection code to work from preemptible, interrupts
    enabled context.  This works by adding a ->cancel_injection() operation
    that undoes an injection in case we were not able to actually enter the guest
    (this condition could never happen with atomic injection).
    Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
    b463a6f7
x86.c 147 KB