commit | ac0a48c39af31fe27bdb1afca7b26f109ff1c704 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Tue Jun 25 18:24:41 2013 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Jul 29 09:01:14 2013 +0200 |
tree | 2c2d3cecadd5333b8ed8fa147b2e61ed2d5bced4 | |
parent | a343c9b7673e2228bc8a9ac65aae42140f6f9977 [diff] [blame] |
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>
diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c index 3a9493a..2c1bb95 100644 --- a/arch/x86/kvm/mmu.c +++ b/arch/x86/kvm/mmu.c
@@ -4182,7 +4182,7 @@ switch (er) { case EMULATE_DONE: return 1; - case EMULATE_DO_MMIO: + case EMULATE_USER_EXIT: ++vcpu->stat.mmio_exits; /* fall through */ case EMULATE_FAIL: