KVM: nSVM: Set correct port for IOIO interception evaluation
authorJan Kiszka <jan.kiszka@siemens.com>
Mon, 30 Jun 2014 10:52:55 +0000 (12:52 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 9 Jul 2014 16:09:56 +0000 (18:09 +0200)
Obtaining the port number from DX is bogus as a) there are immediate
port accesses and b) user space may have changed the register content
while processing the PIO access. Forward the correct value from the
instruction emulator instead.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_emulate.h
arch/x86/kvm/emulate.c
arch/x86/kvm/svm.c

Simple merge
Simple merge
Simple merge