KVM: x86: extend usage of RET_MMIO_PF_* constants

commit 9b8ebbdb74 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>
This commit is contained in:
Paolo Bonzini 2017-08-17 15:03:32 +02:00 • committed by Greg Kroah-Hartman
commit f925158cb0
2 changed files with 55 additions and 58 deletions