<div dir="ltr">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.</div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Aug 29, 2015 at 10:13 PM, Elazar Leibovich <span dir="ltr"><<a href="mailto:elazarl@gmail.com" target="_blank">elazarl@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Does anyone have a creative idea how to set a hardware breakpoint on physical address with a VM. In x86-64 architecture.<div><br></div><div>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.</div><div><br></div><div>(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).</div></div>
</blockquote></div><br></div>