projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cd3837
)
plugins: Fix qemu_plugin_read_memory_vaddr parameters
author
Richard Henderson
<richard.henderson@linaro.org>
Wed, 5 Feb 2025 02:49:40 +0000
(18:49 -0800)
committer
Richard 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
patch
|
blob
|
history
diff --git
a/plugins/api.c
b/plugins/api.c
index 4110cfaa2379e30574f3f1d2b11cb08facc40536..cf8cdf076a0f31e7c91f399e0a316448e813707e 100644
(file)
--- a/
plugins/api.c
+++ b/
plugins/api.c
@@
-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);