2017-03-15 20:38:55 +01:00
|
|
|
From: =?UTF-8?q?Andreas=20F=C3=A4rber?= <afaerber@suse.de>
|
|
|
|
Date: Wed, 31 Jul 2013 17:32:35 +0200
|
2019-01-04 22:08:16 +01:00
|
|
|
Subject: acpi_piix4: Fix migration from SLE11 SP2
|
2017-03-15 20:38:55 +01:00
|
|
|
MIME-Version: 1.0
|
|
|
|
Content-Type: text/plain; charset=UTF-8
|
|
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
|
2019-09-12 17:54:03 +02:00
|
|
|
References: bnc#812836
|
|
|
|
|
2017-03-15 20:38:55 +01:00
|
|
|
qemu-kvm 0.15 uses the same GPE format as qemu 1.4, but as version 2
|
|
|
|
rather than 3.
|
|
|
|
|
|
|
|
Signed-off-by: Andreas Färber <afaerber@suse.de>
|
|
|
|
---
|
|
|
|
hw/acpi/piix4.c | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/hw/acpi/piix4.c b/hw/acpi/piix4.c
|
2020-08-12 00:53:07 +02:00
|
|
|
index 26bac4f16c18a7d32b3821e5e3e6..81c2a3410319e6236c1a09b07bb1 100644
|
2017-03-15 20:38:55 +01:00
|
|
|
--- a/hw/acpi/piix4.c
|
|
|
|
+++ b/hw/acpi/piix4.c
|
2020-08-12 00:53:07 +02:00
|
|
|
@@ -275,7 +275,7 @@ static bool piix4_vmstate_need_smbus(void *opaque, int version_id)
|
2017-03-15 20:38:55 +01:00
|
|
|
static const VMStateDescription vmstate_acpi = {
|
|
|
|
.name = "piix4_pm",
|
|
|
|
.version_id = 3,
|
|
|
|
- .minimum_version_id = 3,
|
|
|
|
+ .minimum_version_id = 2, /* qemu-kvm */
|
|
|
|
.post_load = vmstate_acpi_post_load,
|
2019-11-27 13:46:32 +01:00
|
|
|
.fields = (VMStateField[]) {
|
|
|
|
VMSTATE_PCI_DEVICE(parent_obj, PIIX4PMState),
|