Aurelien Jarno 4e62417bf3 KVM: x86 emulator: fix access registers for instructions with ModR/M byte and Mod = 3
The patch belows changes the access type to register from memory for
instructions that are declared as SrcMem or DstMem, but have a
ModR/M byte with Mod = 3.

It fixes (at least) the lmsw and smsw instructions on an AMD64 CPU,
which are needed for FreeBSD.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Avi Kivity <avi@qumranet.com>
2007-10-22 12:03:29 +02:00
..
2007-10-17 08:42:52 -07:00
2007-08-22 19:52:46 -07:00
2007-10-18 14:37:31 -07:00
2007-10-16 09:43:09 -07:00
2007-10-20 01:55:04 +02:00
2007-10-19 11:53:42 -07:00
2007-10-20 00:47:32 +02:00
2007-10-20 01:34:40 +02:00
2007-10-19 23:22:55 +02:00
2007-10-20 01:55:58 +02:00
2007-10-19 23:22:11 +02:00
2007-10-20 01:34:40 +02:00
2007-10-20 01:34:40 +02:00
2007-10-20 01:34:40 +02:00
2007-10-19 11:53:41 -07:00
2007-10-19 11:53:41 -07:00
2007-10-20 01:34:40 +02:00
2007-10-20 15:04:06 -07:00
2007-10-19 23:22:55 +02:00
2007-10-16 21:04:11 -04:00
2007-10-17 08:42:57 -07:00
2007-10-20 01:34:40 +02:00
2007-10-18 10:39:03 +00:00