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>
This commit is contained in:
parent
14784d00ce
commit
c7212fd2ce
3 changed files with 3 additions and 3 deletions
|
|
@ -45,7 +45,7 @@ typedef struct AccelClass {
|
|||
void (*cpu_common_unrealize)(CPUState *cpu);
|
||||
|
||||
/* system related hooks */
|
||||
void (*setup_post)(MachineState *ms, AccelState *accel);
|
||||
void (*setup_post)(AccelState *as);
|
||||
bool (*has_memory)(AccelState *accel, AddressSpace *as,
|
||||
hwaddr start_addr, hwaddr size);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue