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-17 17:41:07 +02:00
2008-01-30 13:34:07 +01:00
2008-04-17 17:41:33 +02:00
2007-10-17 20:17:13 +02:00
2008-04-19 19:19:54 +02:00
2008-02-04 16:48:04 +01:00
2007-10-17 20:17:15 +02:00
2008-04-17 17:41:19 +02:00
2007-10-17 20:17:08 +02:00
2008-05-01 08:03:58 -07:00
2008-05-01 08:04:01 -07:00
2007-10-17 20:17:08 +02:00
2007-10-17 20:17:21 +02:00
2008-01-30 13:33:09 +01:00
2008-04-19 19:19:58 +02:00
2008-04-17 17:41:33 +02:00
2008-01-30 13:33:35 +01:00
2008-02-04 16:48:03 +01:00
2008-05-10 19:31:45 +02:00
2008-01-30 13:33:14 +01:00
2008-04-18 00:46:35 +02:00
2008-01-30 13:30:28 +01:00
2008-05-01 08:04:01 -07:00
2007-10-30 00:22:22 +01:00
2008-01-30 13:30:16 +01:00
2008-04-17 20:05:37 +02:00
2008-04-27 12:01:19 +03:00
2007-10-17 20:16:47 +02:00
2008-01-30 13:31:55 +01:00
2007-10-17 20:26:15 +02:00
2008-01-30 13:31:43 +01:00
2007-10-23 22:37:24 +02:00
2008-04-17 17:41:30 +02:00
2008-04-17 17:41:01 +02:00
2008-04-17 17:40:58 +02:00
2008-01-30 13:34:10 +01:00
2008-05-08 15:43:51 +02:00
2008-04-19 19:19:55 +02:00
2008-04-26 23:41:04 +02:00
2008-04-24 23:57:31 +02:00
2008-04-30 23:15:34 +02:00
2008-04-30 23:15:34 +02:00
2007-10-17 20:17:08 +02:00
2007-10-17 20:17:08 +02:00
2008-04-19 19:19:57 +02:00
2007-10-17 20:17:08 +02:00
2008-04-17 10:42:34 -04:00
2007-10-23 22:37:24 +02:00
2008-04-24 23:15:44 +02:00
2008-01-30 13:31:21 +01:00
2007-10-23 22:37:24 +02:00
2007-10-23 22:37:24 +02:00
2008-04-19 19:19:55 +02:00
2008-04-29 08:06:03 -07:00
2008-02-06 10:41:02 -08:00
2007-10-17 20:26:18 +02:00
2008-04-29 13:45:24 +02:00
2008-04-26 17:35:46 +02:00
2007-10-17 20:32:38 +02:00
2008-01-30 13:32:39 +01:00