Skip to content
Commit dc7457ea authored by Avi Kivity's avatar Avi Kivity
Browse files

KVM: x86 emulator: disable writeback on lmsw



The recent changes allowing memory operands with lmsw and smsw left
lmsw with writeback enabled.  Since lmsw has no oridinary destination
operand, the dst pointer was not initialized, resulting in an oops.

Close the hole by disabling writeback for lmsw.

Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
parent de368dce
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment