mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
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>
This commit is contained in:
+1
-1
@@ -3501,7 +3501,7 @@ static void mtree_print_flatview(gpointer key, gpointer value,
|
||||
if (fvi->ac) {
|
||||
for (i = 0; i < fv_address_spaces->len; ++i) {
|
||||
as = g_array_index(fv_address_spaces, AddressSpace*, i);
|
||||
if (fvi->ac->has_memory(current_machine, as,
|
||||
if (fvi->ac->has_memory(current_machine->accelerator, as,
|
||||
int128_get64(range->addr.start),
|
||||
MR_SIZE(range->addr.size) + 1)) {
|
||||
qemu_printf(" %s", fvi->ac->name);
|
||||
|
||||
Reference in New Issue
Block a user