HW breakpoint on physical address w/ VM

HW breakpoint on physical address w/ VM

Elazar Leibovich elazarl at gmail.com
Sat Aug 29 22:44:17 IDT 2015


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 <elazarl at 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).
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20150829/bad4f221/attachment.html>


More information about the Linux-il mailing list