• N
    KVM: x86: Pending interrupt may be delivered after INIT · 5f7552d4
    Nadav Amit 提交于
    We encountered a scenario in which after an INIT is delivered, a pending
    interrupt is delivered, although it was sent before the INIT.  As the SDM
    states in section 10.4.7.1, the ISR and the IRR should be cleared after INIT as
    KVM does.  This also means that pending interrupts should be cleared.  This
    patch clears upon reset (and INIT) the pending interrupts; and at the same
    occassion clears the pending exceptions, since they may cause a similar issue.
    Signed-off-by: NNadav Amit <namit@cs.technion.ac.il>
    Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
    5f7552d4
x86.c 190.5 KB