aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2010-01-08 15:25:42 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2010-01-11 13:41:00 -0600
commit20a86364c9e421c4f9ce457251fa8df031cd5078 (patch)
treecd01ea4782da96ac701f901cf7c480d9f8a3cf6a /hw
parent88169ddf82853ca892ce7bee279579c8a0ac03e5 (diff)
pc: add rombar to compat properties for pc-0.10 and pc-0.11
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>
Diffstat (limited to 'hw')
-rw-r--r--hw/pc.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/hw/pc.c b/hw/pc.c
index e32e57487e..a93c5f2bb8 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -1082,6 +1082,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 */ }
}
@@ -1109,6 +1113,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 */ }
},