mirror of
https://github.com/qemu/qemu.git
synced 2026-07-08 17:56:38 +00:00
plugins: Fix qemu_plugin_read_memory_vaddr parameters
The declaration uses uint64_t for addr.
Fixes: 595cd9ce2e ("plugins: add plugin API to read guest memory")
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
@@ -561,7 +561,7 @@ GArray *qemu_plugin_get_registers(void)
|
||||
return create_register_handles(regs);
|
||||
}
|
||||
|
||||
bool qemu_plugin_read_memory_vaddr(vaddr addr, GByteArray *data, size_t len)
|
||||
bool qemu_plugin_read_memory_vaddr(uint64_t addr, GByteArray *data, size_t len)
|
||||
{
|
||||
g_assert(current_cpu);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user