Re: [Qemu-devel] [PATCH] kvmvapic: Fix TB invalidation after instruction patching

2012-11-04 Thread Hervé Poussineau
Jan Kiszka a écrit : > From: Jan Kiszka > > 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 anymor

[Qemu-devel] [PATCH] kvmvapic: Fix TB invalidation after instruction patching

2012-11-03 Thread Jan Kiszka
From: Jan Kiszka 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 r