diff options
author | Paolo Bonzini | 2013-06-25 18:24:41 +0200 |
---|---|---|
committer | Paolo Bonzini | 2013-07-29 09:01:14 +0200 |
commit | ac0a48c39af31fe27bdb1afca7b26f109ff1c704 (patch) | |
tree | 2c2d3cecadd5333b8ed8fa147b2e61ed2d5bced4 /arch/x86/kvm/vmx.c | |
parent | KVM: introduce __kvm_io_bus_sort_cmp (diff) | |
download | kernel-qcow2-linux-ac0a48c39af31fe27bdb1afca7b26f109ff1c704.tar.gz kernel-qcow2-linux-ac0a48c39af31fe27bdb1afca7b26f109ff1c704.tar.xz kernel-qcow2-linux-ac0a48c39af31fe27bdb1afca7b26f109ff1c704.zip |
KVM: x86: rename EMULATE_DO_MMIO
The next patch will reuse it for other userspace exits than MMIO,
namely debug events.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/vmx.c')
-rw-r--r-- | arch/x86/kvm/vmx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index e999dc7662d8..45fd70cef88e 100644 --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c @@ -5452,7 +5452,7 @@ static int handle_invalid_guest_state(struct kvm_vcpu *vcpu) err = emulate_instruction(vcpu, EMULTYPE_NO_REEXECUTE); - if (err == EMULATE_DO_MMIO) { + if (err == EMULATE_USER_EXIT) { ret = 0; goto out; } |