30 lines
910 B
Diff
30 lines
910 B
Diff
|
|
From 96e753e741a21d8bc1f59120dd70ce140129b737 Mon Sep 17 00:00:00 2001
|
||
|
|
From: weishaokun <weishaokun@kylinos.cn>
|
||
|
|
Date: Fri, 31 May 2024 13:48:59 +0800
|
||
|
|
Subject: [PATCH] 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 <weishaokun@kylinos.cn>
|
||
|
|
---
|
||
|
|
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)
|
||
|
|
--
|
||
|
|
2.27.0
|
||
|
|
|