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

2012-11-10 Thread Blue Swirl
Thanks, applied. Fixes also Win2k boot. On Sun, Nov 4, 2012 at 8:16 AM, Jan Kiszka wrote: > 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_inval

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

2012-11-04 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