f099b2fad1
Fix build issues for some older distros. Also includes fixing broken parts of spec file when not building x86 firmware. OBS-URL: https://build.opensuse.org/request/show/493037 OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=338
32 lines
1.0 KiB
Diff
32 lines
1.0 KiB
Diff
From e681140d293caba3f27ccadfd872473725021aa2 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Andreas=20F=C3=A4rber?= <afaerber@suse.de>
|
|
Date: Wed, 31 Jul 2013 17:32:35 +0200
|
|
Subject: [PATCH] acpi_piix4: Fix migration from SLE11 SP2
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
qemu-kvm 0.15 uses the same GPE format as qemu 1.4, but as version 2
|
|
rather than 3.
|
|
|
|
Addresses part of BNC#812836.
|
|
|
|
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
|
|
index a553a7e110..c34f761175 100644
|
|
--- a/hw/acpi/piix4.c
|
|
+++ b/hw/acpi/piix4.c
|
|
@@ -311,7 +311,7 @@ static const VMStateDescription vmstate_cpuhp_state = {
|
|
static const VMStateDescription vmstate_acpi = {
|
|
.name = "piix4_pm",
|
|
.version_id = 3,
|
|
- .minimum_version_id = 3,
|
|
+ .minimum_version_id = 2, /* qemu-kvm */
|
|
.minimum_version_id_old = 1,
|
|
.load_state_old = acpi_load_old,
|
|
.post_load = vmstate_acpi_post_load,
|