Function qemu_plugin_get_hwaddr

Source
pub unsafe extern "C" fn qemu_plugin_get_hwaddr(
    info: u32,
    vaddr: u64,
) -> *mut qemu_plugin_hwaddr
Expand description

qemu_plugin_get_hwaddr() - return handle for memory operation @info: opaque memory info structure @vaddr: the virtual address of the memory operation

For system emulation returns a qemu_plugin_hwaddr handle to query details about the actual physical address backing the virtual address. For linux-user guests it just returns NULL.

This handle is only valid for the duration of the callback. Any information about the handle should be recovered before the callback returns.