Patchwork [6/6] pc: add rombar to compat properties for pc-0.10 and pc-0.11

login
register
mail settings
Submitter Gerd Hoffmann
Date Jan. 8, 2010, 2:25 p.m.
Message ID <1262960742-18267-7-git-send-email-kraxel@redhat.com>
Download mbox | patch
Permalink /patch/42507/
State New
Headers show

Comments

Gerd Hoffmann - Jan. 8, 2010, 2:25 p.m.
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>
---
 hw/pc.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

Patch

diff --git a/hw/pc.c b/hw/pc.c
index 3ed43f5..825501c 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -1315,6 +1315,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 */ }
     }
@@ -1342,6 +1346,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 */ }
     },