]> git.proxmox.com Git - qemu.git/commitdiff
pvpanic: fix bad merge
authorAnthony Liguori <aliguori@us.ibm.com>
Tue, 13 Aug 2013 14:02:52 +0000 (09:02 -0500)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 13 Aug 2013 14:02:52 +0000 (09:02 -0500)
Context matching caused the 'has_pvpanic = true' to be applied to
the 1.6 machine type instead of the 1.5 machine type.

Reported-by: Markus Armbruster <armbru@redhat.com>
Reported-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/i386/pc_piix.c
hw/i386/pc_q35.c

index 55c24f2f6f609f5ef72bf89f55ac36961164660d..6e1e654f3fce42f2276fa6b9e6c58af0d1fa9107 100644 (file)
@@ -252,12 +252,12 @@ static void pc_init_pci(QEMUMachineInitArgs *args)
 static void pc_init_pci_1_6(QEMUMachineInitArgs *args)
 {
     has_pci_info = false;
-    has_pvpanic = true;
     pc_init_pci(args);
 }
 
 static void pc_init_pci_1_5(QEMUMachineInitArgs *args)
 {
+    has_pvpanic = true;
     pc_init_pci_1_6(args);
 }
 
index bd250718fbb5f0f59756a48c16be76d7910d3272..10e770e36289dfc56f4b2a94e1d7cacd04c15cad 100644 (file)
@@ -221,12 +221,12 @@ static void pc_q35_init(QEMUMachineInitArgs *args)
 static void pc_q35_init_1_6(QEMUMachineInitArgs *args)
 {
     has_pci_info = false;
-    has_pvpanic = true;
     pc_q35_init(args);
 }
 
 static void pc_q35_init_1_5(QEMUMachineInitArgs *args)
 {
+    has_pvpanic = true;
     pc_q35_init_1_6(args);
 }