Files
linux/drivers
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:34:07 +01:00
…
…
…
2008-01-11 18:29:22 -06:00
2008-01-28 13:21:30 +00:00
2007-12-31 23:11:11 +00:00
2008-01-27 18:14:47 +01:00
…
…
2007-12-23 12:54:37 -08:00
2008-01-28 23:21:18 +01: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-10-23 15:49:54 +10:00