From 241a1dff01a0997b9896dc7fe25a8461180b331d Mon Sep 17 00:00:00 2001 From: weishaokun Date: Tue, 2 Jan 2024 17:24:16 +0800 Subject: [PATCH] Set the value of no_ged to false under the ARM architecture --- ...e-value-of-no_ged-from-true-to-false.patch | 25 +++++++++++++++++++ qemu.spec | 6 ++++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 Change-the-value-of-no_ged-from-true-to-false.patch diff --git a/Change-the-value-of-no_ged-from-true-to-false.patch b/Change-the-value-of-no_ged-from-true-to-false.patch new file mode 100644 index 0000000..104d162 --- /dev/null +++ b/Change-the-value-of-no_ged-from-true-to-false.patch @@ -0,0 +1,25 @@ +From ac870de5996ba02f92d9099d1741c345cd787849 Mon Sep 17 00:00:00 2001 +From: weishaokun +Date: Tue, 2 Jan 2024 16:29:54 +0800 +Subject: [PATCH] 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) +-- +2.20.1 + diff --git a/qemu.spec b/qemu.spec index bc9d629..28ea527 100644 --- a/qemu.spec +++ b/qemu.spec @@ -3,7 +3,7 @@ Name: qemu Version: 6.2.0 -Release: 86 +Release: 87 Epoch: 10 Summary: QEMU is a generic and open source machine emulator and virtualizer License: GPLv2 and BSD and MIT and CC-BY-SA-4.0 @@ -832,6 +832,7 @@ Patch0817: vhost-implement-migration-state-notifier-for-vdpa-de.patch Patch0818: vhost-implement-post-resume-bh.patch Patch0819: vdpa-implement-vdpa-device-migration.patch Patch0820: vdpa-move-memory-listener-to-the-realize-stage.patch +Patch0821: Change-the-value-of-no_ged-from-true-to-false.patch BuildRequires: flex @@ -1431,6 +1432,9 @@ getent passwd qemu >/dev/null || \ %endif %changelog +* Tue Jan 2 2024 - 10:6.2.0-87 +- virt: Set the value of no_ged to false under the ARM architecture. + * Tue Dec 5 2023 - 10:6.2.0-86 - vdpa: move memory listener to the realize stage - vdpa: implement vdpa device migration -- Gitee