qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Plugin Register Accesses


From: Aaron Lindsay
Subject: Plugin Register Accesses
Date: Mon, 7 Dec 2020 16:03:24 -0500

I'm trying to migrate to using the new plugin interface. I see the
following in include/qemu/qemu-plugin.h:

> enum qemu_plugin_cb_flags {
>     QEMU_PLUGIN_CB_NO_REGS, /* callback does not access the CPU's regs */
>     QEMU_PLUGIN_CB_R_REGS,  /* callback reads the CPU's regs */
>     QEMU_PLUGIN_CB_RW_REGS, /* callback reads and writes the CPU's regs */
> };

But I don't see a way to access registers in callbacks. Am I missing
something?

-Aaron



reply via email to

[Prev in Thread] Current Thread [Next in Thread]