From 0fc0686798aba89c4d4d94f7e0c8e513cfc473b1 Mon Sep 17 00:00:00 2001 From: lijunwei Date: Fri, 22 Nov 2024 17:09:17 +0800 Subject: [PATCH] Change vmstate_cpuhp_sts vmstateDescription version_id fix live migration failed error message: "qemu-kvm: Missing section footer for 0000:00:01.3/piix4_pm" change vmstate_cpuhp_sts vmstateDescription version_id Signed-off-by: lijunwei --- hw/acpi/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/acpi/cpu.c b/hw/acpi/cpu.c index 292e1daca2..4ab27ac66e 100644 --- a/hw/acpi/cpu.c +++ b/hw/acpi/cpu.c @@ -316,7 +316,7 @@ void acpi_cpu_unplug_cb(CPUHotplugState *cpu_st, static const VMStateDescription vmstate_cpuhp_sts = { .name = "CPU hotplug device state", - .version_id = 1, + .version_id = 2, .minimum_version_id = 1, .fields = (VMStateField[]) { VMSTATE_BOOL(is_inserting, AcpiCpuStatus), -- Gitee