commit | bc8a0aafcbb82e5c7dde486c03e6c51e3896d797 | [log] [tgz] |
---|---|---|
author | Sean Christopherson <sean.j.christopherson@intel.com> | Tue Aug 27 14:40:27 2019 -0700 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Tue Sep 24 13:37:35 2019 +0200 |
tree | 1428a0786d0c957e2cbc823d9eb5a59ec39fac22 | |
parent | 5845038c111db27902bc220a4f70070fe945871c [diff] |
KVM: x86: Relocate MMIO exit stats counting Move the stat.mmio_exits update into x86_emulate_instruction(). This is both a bug fix, e.g. the current update flows will incorrectly increment mmio_exits on emulation failure, and a preparatory change to set the stage for eliminating EMULATE_DONE and company. Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com> Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>