summary refs log tree commit diff stats
path: root/accel/accel-system.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2025-06-30 15:33:25 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-07-04 15:22:04 +0200
commitc7212fd2ce9182ec205dd22ff5bc66864fb3cd10 (patch)
treeb5ef527f81d9b263f71c4bcb5a38300d524c42bc /accel/accel-system.c
parent14784d00ce6643077d3b9f24c19cb2882c173ff2 (diff)
downloadfocaccia-qemu-c7212fd2ce9182ec205dd22ff5bc66864fb3cd10.tar.gz
focaccia-qemu-c7212fd2ce9182ec205dd22ff5bc66864fb3cd10.zip
accel: Remove unused MachineState argument of AccelClass::setup_post()
This method only accesses xen_domid/xen_domid_restrict, which are both
related to the 'accelerator', not the machine. Besides, xen_domid aims
to be in Xen AccelState and xen_domid_restrict a xen_domid_restrict
QOM property.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Message-Id: <20250703173248.44995-36-philmd@linaro.org>
Diffstat (limited to 'accel/accel-system.c')
-rw-r--r--accel/accel-system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel/accel-system.c b/accel/accel-system.c
index 913b7155d7..af713cc902 100644
--- a/accel/accel-system.c
+++ b/accel/accel-system.c
@@ -58,7 +58,7 @@ void accel_setup_post(MachineState *ms)
     AccelState *accel = ms->accelerator;
     AccelClass *acc = ACCEL_GET_CLASS(accel);
     if (acc->setup_post) {
-        acc->setup_post(ms, accel);
+        acc->setup_post(accel);
     }
 }