Avi Kivity
c7e75a3db4
KVM: x86 emulator: don't depend on cr2 for mov abs emulation
...
The 'mov abs' instruction family (opcodes 0xa0 - 0xa3) still depends on cr2
provided by the page fault handler. This is wrong for several reasons:
- if an instruction accessed misaligned data that crosses a page boundary,
and if the fault happened on the second page, cr2 will point at the
second page, not the data itself.
- if we're emulating in real mode, or due to a FlexPriority exit, there
is no cr2 generated.
So, this change adds decoding for this instruction form and drops reliance
on cr2.
Signed-off-by: Avi Kivity <avi@qumranet.com >
2008-01-30 17:52:57 +02:00
..
2008-01-30 13:32:41 +01:00
2008-01-29 08:48:17 +11:00
2008-01-28 15:00:15 -08:00
2008-01-28 23:14:35 +01:00
2008-01-29 21:55:18 +01:00
2008-01-10 22:24:43 -08:00
2008-01-29 08:52:50 +11:00
2008-01-30 13:34:07 +01:00
2008-01-28 15:08:07 -08:00
2008-01-30 13:33:34 +01:00
2008-01-24 20:40:40 -08:00
2008-01-26 14:11:17 +01:00
2008-01-24 20:40:05 -08:00
2008-01-24 20:40:40 -08:00
2008-01-11 18:29:22 -06:00
2008-01-30 13:33:32 +01:00
2008-01-28 14:51:23 +01:00
2008-01-22 07:21:38 -05:00
2008-01-28 13:21:30 +00:00
2008-01-28 10:37:06 +01:00
2008-01-30 13:34:11 +01:00
2008-01-29 22:54:01 +11:00
2008-01-30 13:31:24 +01:00
2008-01-25 08:35:13 -08:00
2008-01-30 17:52:57 +02:00
2007-12-31 23:11:11 +00:00
2008-01-30 13:31:02 +01:00
2008-01-27 18:14:47 +01:00
2008-01-24 20:40:40 -08:00
2008-01-27 18:14:51 +01:00
2008-01-28 10:36:50 +01:00
2008-01-28 10:59:09 +00:00
2008-01-24 20:40:08 -08:00
2008-01-29 08:51:32 +11:00
2008-01-24 20:40:06 -08:00
2008-01-31 00:30:15 +11:00
2007-11-14 18:45:37 -08:00
2008-01-28 14:58:20 -08:00
2007-12-17 19:28:15 -08:00
2008-01-24 20:40:40 -08:00
2008-01-26 15:07:54 +00:00
2008-01-30 13:32:31 +01:00
2008-01-24 20:40:44 -08:00
2007-12-23 12:54:37 -08:00
2008-01-28 23:21:18 +01:00
2008-01-29 08:52:50 +11:00
2008-01-28 15:08:32 -08:00
2007-11-19 21:09:52 +00:00
2008-01-28 15:08:07 -08:00
2008-01-29 08:52:50 +11:00
2007-11-07 11:13:55 +09:00
2008-01-26 15:07:52 +00:00
2008-01-28 15:09:52 -08:00
2007-11-05 15:12:33 -08:00
2008-01-24 20:40:43 -08:00
2008-01-28 13:21:38 +00:00
2008-01-30 13:34:07 +01:00
2007-11-19 11:20:42 +11:00
2008-01-27 18:14:47 +01:00
2008-01-25 20:41:30 +00:00
2007-11-26 19:15:31 -08:00
2007-10-23 15:49:54 +10:00
2008-01-30 13:34:11 +01:00