]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
pc: add rombar to compat properties for pc-0.10 and pc-0.11
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 8 Jan 2010 14:25:42 +0000 (15:25 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 12 Jan 2010 20:48:35 +0000 (14:48 -0600)
So '-M pc-0.10' and '-M pc-0.11' will use the fw_cfg rom load method
by default.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
(cherry picked from commit 20a86364c9e421c4f9ce457251fa8df031cd5078)

hw/pc.c

diff --git a/hw/pc.c b/hw/pc.c
index 2aef0da41cc80b4db1cc2a3da9ec13c5dd827f1b..86c2ba01e051d96c114304ce28dd4b12adda441c 100644 (file)
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -1306,6 +1306,10 @@ static QEMUMachine pc_machine_v0_11 = {
             .driver   = "virtio-blk-pci",
             .property = "vectors",
             .value    = stringify(0),
+        },{
+            .driver   = "PCI",
+            .property = "rombar",
+            .value    = stringify(0),
         },
         { /* end of list */ }
     }
@@ -1333,6 +1337,10 @@ static QEMUMachine pc_machine_v0_10 = {
             .driver   = "virtio-blk-pci",
             .property = "vectors",
             .value    = stringify(0),
+        },{
+            .driver   = "PCI",
+            .property = "rombar",
+            .value    = stringify(0),
         },
         { /* end of list */ }
     },