plugins: Fix qemu_plugin_read_memory_vaddr parameters
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 5 Feb 2025 02:49:40 +0000 (18:49 -0800)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 18 Feb 2025 15:33:42 +0000 (07:33 -0800)
The declaration uses uint64_t for addr.

Fixes: 595cd9ce2ec ("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>
plugins/api.c

index 4110cfaa2379e30574f3f1d2b11cb08facc40536..cf8cdf076a0f31e7c91f399e0a316448e813707e 100644 (file)
@@ -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);