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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Mar 2018 06:41:23 +0000 (22:41 -0800)
commitf925158cb0d28689e2fe75788b08a8a81cd9e3a3
tree70547f012536ea4dc97835fe69c7097eb57f2361
parente0c7b2b16666820bbc88623322d52d7cf725ac03
KVM: x86: extend usage of RET_MMIO_PF_* constants

commit 9b8ebbdb74b5ad76b9dfd8b101af17839174b126 upstream.

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>
Cc: Thomas Backlund <tmb@mageia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kvm/mmu.c
arch/x86/kvm/paging_tmpl.h