diff options
| author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-06-30 15:33:25 +0200 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-07-04 12:08:44 +0200 |
| commit | 1e9fb43d30c0526e164bebaab387b615edfa79ad (patch) | |
| tree | 2ee47ebcd9ef3b354209448130e064834b177d27 /accel/xen/xen-all.c | |
| parent | 8dd5e6befc86161598eace2bfeb090c2cfb179fd (diff) | |
| download | focaccia-qemu-1e9fb43d30c0526e164bebaab387b615edfa79ad.tar.gz focaccia-qemu-1e9fb43d30c0526e164bebaab387b615edfa79ad.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> Message-Id: <20250703173248.44995-36-philmd@linaro.org>
Diffstat (limited to 'accel/xen/xen-all.c')
| -rw-r--r-- | accel/xen/xen-all.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accel/xen/xen-all.c b/accel/xen/xen-all.c index 8279746f11..bd0ff64bef 100644 --- a/accel/xen/xen-all.c +++ b/accel/xen/xen-all.c @@ -64,7 +64,7 @@ static void xen_set_igd_gfx_passthru(Object *obj, bool value, Error **errp) xen_igd_gfx_pt_set(value, errp); } -static void xen_setup_post(MachineState *ms, AccelState *accel) +static void xen_setup_post(AccelState *as) { int rc; |