]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86 emulator: fix smsw and lmsw with a memory operand
authorAvi Kivity <avi@qumranet.com>
Mon, 14 Apr 2008 11:40:50 +0000 (14:40 +0300)
committerAvi Kivity <avi@qumranet.com>
Sun, 27 Apr 2008 15:21:34 +0000 (18:21 +0300)
commit9171e4a48c8e0348b748f2b0471d0c23346c76ae
tree4320f07eea5e48e617c03d732b178d9d99f81f41
parent2d2142ff59fb0215be346d39c4d7ab3c22093a0b
KVM: x86 emulator: fix smsw and lmsw with a memory operand

lmsw and smsw were implemented only with a register operand.  Extend them
to support a memory operand as well.  Fixes Windows running some display
compatibility test on AMD hosts.

Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/x86_emulate.c