From: Gerd Hoffmann Date: Fri, 8 Jan 2010 14:25:42 +0000 (+0100) Subject: pc: add rombar to compat properties for pc-0.10 and pc-0.11 X-Git-Tag: v0.12.2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=49a3aaac4aa13102a7d1706213c0caff769cd142;p=thirdparty%2Fqemu.git 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 Signed-off-by: Anthony Liguori (cherry picked from commit 20a86364c9e421c4f9ce457251fa8df031cd5078) --- diff --git a/hw/pc.c b/hw/pc.c index 2aef0da41cc..86c2ba01e05 100644 --- 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 */ } },