summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorGleb Natapov <gleb@redhat.com>2010-03-18 14:20:23 +0100
committerAvi Kivity <avi@redhat.com>2010-05-17 11:16:25 +0200
commitcf8f70bfe38b326bb80b10f76d6544f571040229 (patch)
treed646456d773a887ca592d174b3d45a57d2779d85 /init
parentKVM: x86 emulator: during rep emulation decrement ECX only if emulation succe... (diff)
downloadlinux-cf8f70bfe38b326bb80b10f76d6544f571040229.tar.xz
linux-cf8f70bfe38b326bb80b10f76d6544f571040229.zip
KVM: x86 emulator: fix in/out emulation.
in/out emulation is broken now. The breakage is different depending on where IO device resides. If it is in userspace emulator reports emulation failure since it incorrectly interprets kvm_emulate_pio() return value. If IO device is in the kernel emulation of 'in' will do nothing since kvm_emulate_pio() stores result directly into vcpu registers, so emulator will overwrite result of emulation during commit of shadowed register. Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions