Jan Kiszka 5c61afec86 kvmvapic: Fix TB invalidation after instruction patching
Since 0b57e287, cpu_memory_rw_debug already triggers a TB invalidation.
As it doesn't (and cannot) set is_cpu_write_access=1 but "consumes" the
currently executed TB, the tb_invalidate_phys_page_range call from
patch_instruction didn't work anymore.

Fix this by open-coding the required bits to restore the CPU state from
the current TB position before patching and resume execution on the
patched instruction afterward.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Tested-by: Hervé Poussineau <hpoussin@reactos.org>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
2012-11-10 12:25:17 +00:00
2012-10-22 13:26:42 -05:00
2012-11-01 13:10:06 +01:00
2012-10-24 10:26:22 +02:00
2012-11-01 13:10:06 +01:00
2012-10-30 09:30:54 +01:00
2012-10-23 22:39:33 +02:00
2012-11-02 18:34:59 +01:00
2012-11-03 20:17:54 +04:00
2012-10-31 04:12:23 +01:00
2012-11-01 19:49:45 +01:00
2012-10-31 04:12:23 +01:00
2012-10-31 04:12:23 +01:00
2012-10-23 08:58:25 -05:00
2012-10-23 08:58:25 -05:00
2012-10-23 08:58:25 -05:00
2012-10-23 08:58:25 -05:00
2012-10-23 08:58:25 -05:00
2012-10-23 08:58:25 -05:00
2012-10-24 10:26:20 +02:00
2012-10-24 10:26:20 +02:00
2012-10-23 08:58:25 -05:00
2012-10-29 18:25:22 +02:00
2012-10-31 04:12:23 +01:00
2012-10-23 08:58:25 -05:00
2012-10-30 09:30:54 +01:00
2012-11-01 14:00:04 +01:00
2012-11-01 14:00:04 +01:00
2012-10-31 09:45:47 +01:00
2012-11-02 13:07:54 -05:00
2012-11-01 19:49:44 +01:00
2012-10-23 08:58:25 -05:00

Read the documentation in qemu-doc.html or on http://wiki.qemu.org

- QEMU team
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%