TPR patching: instruction_is_ok(): fix virtual address checkingkvm-83-15.el5ovirtkvm-83-16.el5ovirt
commitf7b496f8ad7ed706f8344f3ca3dff6b490b6fa47
authorEduardo Habkost <ehabkost@redhat.com>
Mon, 9 Mar 2009 17:44:44 +0000 (9 14:44 -0300)
committerEduardo Habkost <ehabkost@redhat.com>
Mon, 9 Mar 2009 22:02:05 +0000 (9 19:02 -0300)
treef82895a96b9c450fce6745258dd6d53dca8d0e9b
parent6195e7de339d8e08aea3c4bf86ea5661ec55970f
TPR patching: instruction_is_ok(): fix virtual address checking

The check for the RIP on instruction_is_ok() has been broken by commit
406b88a0d537c28b65a9ff015b4e0e91c5425a27 ("set pci mem to start at 0xc100000
and vesa to 0xc000000").

The BIOS changes shouldn't influence the virtual address mapings on
Windows, so I am simply restoring exactly the line that was used before
the PCI hole patch.

Bugzilla: 483494
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Acked-by: Gleb Natapov <gleb@redhat.com>
Acked-by: Juan Quintela <quintela@redhat.com>
qemu/kvm-tpr-opt.c