summaryrefslogtreecommitdiff
path: root/arch/x86/kvm/x86_emulate.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2009-01-05 00:53:19 +0200
committerAvi Kivity <avi@redhat.com>2009-03-24 11:03:00 +0200
commit10f32d84c750ccf8c0afb3a4ea9d4059aa3e9ffc (patch)
tree308c71a5fa5401e4cb0c0e08c9acaa5dd7a2dc10 /arch/x86/kvm/x86_emulate.c
parent9fd4a3b7a412f983696b23121413a79d2132fed6 (diff)
KVM: VMX: Prevent exit handler from running if emulating due to invalid state
If we've just emulated an instruction, we won't have any valid exit reason and associated information. Fix by moving the clearing of the emulation_required flag to the exit handler. This way the exit handler can notice that we've been emulating and abort early. Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm/x86_emulate.c')
0 files changed, 0 insertions, 0 deletions