From ac870de5996ba02f92d9099d1741c345cd787849 Mon Sep 17 00:00:00 2001 From: weishaokun Date: Tue, 2 Jan 2024 16:29:54 +0800 Subject: [PATCH 1/2] Change the value of no_ged from true to false --- hw/arm/virt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/arm/virt.c b/hw/arm/virt.c index 93554cccf1..eadba9535e 100644 --- a/hw/arm/virt.c +++ b/hw/arm/virt.c @@ -3290,7 +3290,7 @@ static void virt_machine_4_1_options(MachineClass *mc) virt_machine_4_2_options(mc); compat_props_add(mc->compat_props, hw_compat_4_1, hw_compat_4_1_len); - vmc->no_ged = true; + vmc->no_ged = false; mc->auto_enable_numa_with_memhp = false; } DEFINE_VIRT_MACHINE(4, 1) -- Gitee From 3385e86ce0cba29036cb9b1018d69ab21e776787 Mon Sep 17 00:00:00 2001 From: weishaokun Date: Fri, 31 May 2024 10:16:23 +0800 Subject: [PATCH 2/2] Change the value of no_ged from true to false It fixes the issue of the `no_ged` parameter mismatch when migrating a virtual machine started with QEMU 4.1 to a QEMU 6.2 Signed-off-by: Shaokun Wei --- hw/arm/virt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/arm/virt.c b/hw/arm/virt.c index eadba9535e..93554cccf1 100644 --- a/hw/arm/virt.c +++ b/hw/arm/virt.c @@ -3290,7 +3290,7 @@ static void virt_machine_4_1_options(MachineClass *mc) virt_machine_4_2_options(mc); compat_props_add(mc->compat_props, hw_compat_4_1, hw_compat_4_1_len); - vmc->no_ged = false; + vmc->no_ged = true; mc->auto_enable_numa_with_memhp = false; } DEFINE_VIRT_MACHINE(4, 1) -- Gitee