diff options
author | Sean Christopherson <sean.j.christopherson@intel.com> | 2020-09-24 00:04:23 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-09-28 13:57:36 +0200 |
commit | 83a2ba4cb2b596e5e89faa4e29b1d1f3b245b95e (patch) | |
tree | 3820270e129098cd209844a5fc5b08a1b2f7548d /arch/x86/realmode | |
parent | KVM: x86/mmu: Return -EIO if page fault returns RET_PF_INVALID (diff) | |
download | linux-83a2ba4cb2b596e5e89faa4e29b1d1f3b245b95e.tar.xz linux-83a2ba4cb2b596e5e89faa4e29b1d1f3b245b95e.zip |
KVM: x86/mmu: Invert RET_PF_* check when falling through to emulation
Explicitly check for RET_PF_EMULATE instead of implicitly doing the same
by checking for !RET_PF_RETRY (RET_PF_INVALID is handled earlier). This
will adding new RET_PF_ types in future patches without breaking the
emulation path.
No functional change intended.
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Message-Id: <20200923220425.18402-3-sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/realmode')
0 files changed, 0 insertions, 0 deletions