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-04-26 17:44:55 +02:00
2008-04-30 08:29:37 -07:00
2008-05-13 19:38:47 +02:00
2007-10-20 01:13:56 +02:00
2007-10-17 20:16:15 +02:00
2008-05-13 19:39:30 +02:00
2008-05-13 09:51:54 -07:00
2008-05-10 19:31:45 +02:00
2008-04-30 23:15:35 +02:00