Home
last modified time | relevance | path

Searched hist:"306 bb7dbc9fba2bcbd93155adadfcb77ae589901" (Results 1 – 1 of 1) sorted by relevance

/kvm-unit-tests/x86/
H A Dsvm.c306bb7dbc9fba2bcbd93155adadfcb77ae589901 Wed Nov 13 15:34:58 UTC 2019 Cathy Avery <cavery@redhat.com> svm: Verify a pending interrupt queued before entering the guest is not lost

This patch is based on Liran Alon's commit fd056f5b89ac for vmx.

The test configures VMCB to intercept external-interrupts and then
queues an interrupt by disabling interrupts and issue a self-IPI.
At this point, we enter guest and we expect CPU to immediately exit
guest on external-interrupt. To complete the test, we then re-enable
interrupts, verify interrupt is dispatched and re-enter guest to verify
it completes execution.

Signed-off-by: Cathy Avery <cavery@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>