summary refs log tree commit diff stats
path: root/include/qemu
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2025-06-30 15:28:08 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-07-04 15:22:04 +0200
commit14784d00ce6643077d3b9f24c19cb2882c173ff2 (patch)
tree93810ea5ae788d965e22a443ae3637d9d06f6896 /include/qemu
parent6b1ce32fee6879d1d09070dfde0d14cbbeaced5c (diff)
downloadfocaccia-qemu-14784d00ce6643077d3b9f24c19cb2882c173ff2.tar.gz
focaccia-qemu-14784d00ce6643077d3b9f24c19cb2882c173ff2.zip
accel: Directly pass AccelState argument to AccelClass::has_memory()
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Message-Id: <20250703173248.44995-34-philmd@linaro.org>
Diffstat (limited to 'include/qemu')
-rw-r--r--include/qemu/accel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qemu/accel.h b/include/qemu/accel.h
index b9a9b3593d..f327a71282 100644
--- a/include/qemu/accel.h
+++ b/include/qemu/accel.h
@@ -46,7 +46,7 @@ typedef struct AccelClass {
 
     /* system related hooks */
     void (*setup_post)(MachineState *ms, AccelState *accel);
-    bool (*has_memory)(MachineState *ms, AddressSpace *as,
+    bool (*has_memory)(AccelState *accel, AddressSpace *as,
                        hwaddr start_addr, hwaddr size);
 
     /* gdbstub related hooks */