Oh, and the idea of the KVM patch is, for each physical HW bp, add a relevant entry in the spt, and set the hardware breakpoint there. This is assuming KVM HW bp works like I think they do.
On Sat, Aug 29, 2015 at 10:13 PM, Elazar Leibovich <elaz...@gmail.com> wrote: > Does anyone have a creative idea how to set a hardware breakpoint on > physical address with a VM. In x86-64 architecture. > > The best idea I've had, is patching KVM, and let him pretend some > non-canonical vaddress is actually a physical address (e.g., hbr > *0xf00d0A-BCDE-FGHI is equiv to a breakpoint on physical address > ABCDEFGHI), but I'll be happy to hear a better approach. > > (background, someone is messing with my page table, and I can't find out > who's messing with my page table, while counting on the page table to > report on page table modifications. The guest OS is not exactly linux). >
_______________________________________________ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il