KVM: x86: add read_phys to x86_emulate_ops
authorRadim Krčmář <rkrcmar@redhat.com>
Fri, 30 Oct 2015 15:36:24 +0000 (16:36 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 4 Nov 2015 15:24:31 +0000 (16:24 +0100)
commit7a036a6f670f63b32c5ee126425f9109271ca13f
tree1d05bde35800c3d4668e8e4a099777cdf14fb7a2
parent2da29bccc5045ea10c70cb3a69be777768fd0b66
KVM: x86: add read_phys to x86_emulate_ops

We want to read the physical memory when emulating RSM.

X86EMUL_IO_NEEDED is returned on all errors for consistency with other
helpers.

Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Tested-by: Laszlo Ersek <lersek@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_emulate.h
arch/x86/kvm/x86.c
This page took 0.028652 seconds and 5 git commands to generate.