]> git.proxmox.com Git - qemu.git/blobdiff - hw/i386/pc_q35.c
pvpanic: create pvpanic by default for machine 1.5
[qemu.git] / hw / i386 / pc_q35.c
index d445bdf4cafceec3803064a013fae1d8c93c3cfc..d0940414621b6c332b60683a756f423cf7163c92 100644 (file)
@@ -45,6 +45,8 @@
 /* ICH9 AHCI has 6 ports */
 #define MAX_SATA_PORTS     6
 
+static bool has_pvpanic = true;
+
 /* PC hardware initialisation */
 static void pc_q35_init(QEMUMachineInitArgs *args)
 {
@@ -193,11 +195,16 @@ static void pc_q35_init(QEMUMachineInitArgs *args)
     if (pci_enabled) {
         pc_pci_device_init(host_bus);
     }
+
+    if (has_pvpanic) {
+        pvpanic_init(isa_bus);
+    }
 }
 
 static void pc_q35_init_1_4(QEMUMachineInitArgs *args)
 {
     pc_sysfw_flash_vs_rom_bug_compatible = true;
+    has_pvpanic = false;
     pc_q35_init(args);
 }