diff options
author | Jeff Dike <jdike@addtoit.com> | 2007-07-17 18:26:59 +0200 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2007-10-13 10:18:19 +0200 |
commit | 8fc0d085f521a2a76418f8f569cf1cd27f0e43d4 (patch) | |
tree | f4820bd9da8c2e1f7059f5709e3ac6097ff218f6 /drivers/kvm/vmx.c | |
parent | KVM: Trivial: Use standard BITMAP macros, open-code userspace-exposed header (diff) | |
download | linux-8fc0d085f521a2a76418f8f569cf1cd27f0e43d4.tar.xz linux-8fc0d085f521a2a76418f8f569cf1cd27f0e43d4.zip |
KVM: Set exit_reason to KVM_EXIT_MMIO where run->mmio is initialized.
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/vmx.c')
-rw-r--r-- | drivers/kvm/vmx.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/kvm/vmx.c b/drivers/kvm/vmx.c index f3e78187e892..2c4f01bea1fb 100644 --- a/drivers/kvm/vmx.c +++ b/drivers/kvm/vmx.c @@ -1610,7 +1610,6 @@ static int handle_exception(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run) return 1; case EMULATE_DO_MMIO: ++vcpu->stat.mmio_exits; - kvm_run->exit_reason = KVM_EXIT_MMIO; return 0; case EMULATE_FAIL: vcpu_printf(vcpu, "%s: emulate fail\n", __FUNCTION__); |