Avi Kivity 107d6d2efa KVM: x86 emulator: fix writes to registers with modrm encodings
A register destination encoded with a mod=3 encoding left dst.ptr NULL.
Normally we don't trap writes to registers, but in the case of smsw, we do.

Fix by pointing dst.ptr at the destination register.

Signed-off-by: Avi Kivity <avi@qumranet.com>
2008-05-18 14:34:14 +03:00
..
2008-05-04 14:44:46 +03:00
2008-04-27 12:01:22 +03:00
2008-05-01 08:03:58 -07:00
2008-01-30 18:01:20 +02:00
2008-05-04 14:44:34 +03:00
2008-05-04 14:44:34 +03:00
2008-05-04 14:44:42 +03:00
2008-05-04 14:44:42 +03:00
2008-05-04 14:44:48 +03:00