x86: Emulation of LMSW must only affect CR0 bits 0-3.
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 27 Jun 2008 16:24:54 +0000 (17:24 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 27 Jun 2008 16:24:54 +0000 (17:24 +0100)
commit41d0fcff57ee5fdc920c977e3d95562fcbed8ca5
treec496dac3e306b21d1f10feefc61a462b437675b2
parent80982c971fc3d49622412a9b2cb038e004acef49
x86: Emulation of LMSW must only affect CR0 bits 0-3.
Emulation of SMSW is only restricted to 16-bit operation on memory
operands.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/arch/x86/hvm/vmx/vmx.c
xen/arch/x86/x86_emulate/x86_emulate.c