diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2010-02-15 10:45:41 +0100 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-04-25 12:38:14 +0300 |
commit | 03b82a30ea8b26199901b219848d706dbd70c609 (patch) | |
tree | a7fdac36e4ae40f130c3fc8bcbffc69df7ae5279 /include/linux/kvm.h | |
parent | 8fe546547cf6857a9d984bfe2f2194910f3fc5d0 (diff) |
KVM: x86: Do not return soft events in vcpu_events
To avoid that user space migrates a pending software exception or
interrupt, mask them out on KVM_GET_VCPU_EVENTS. Without this, user
space would try to reinject them, and we would have to reconstruct the
proper instruction length for VMX event injection. Now the pending event
will be reinjected via executing the triggering instruction again.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'include/linux/kvm.h')
0 files changed, 0 insertions, 0 deletions