KVM: x86: extend usage of RET_MMIO_PF_* constants
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 17 Aug 2017 13:03:32 +0000 (15:03 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 12 Oct 2017 12:01:56 +0000 (14:01 +0200)
commit9b8ebbdb74b5ad76b9dfd8b101af17839174b126
tree11de803b9b9fe72f1f0a60d0ec81959120116dc2
parent05cade71cf3b925042569c3e8dc1fa68a2b26995
KVM: x86: extend usage of RET_MMIO_PF_* constants

The x86 MMU if full of code that returns 0 and 1 for retry/emulate.  Use
the existing RET_MMIO_PF_RETRY/RET_MMIO_PF_EMULATE enum, renaming it to
drop the MMIO part.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu.c
arch/x86/kvm/paging_tmpl.h