From 20a86364c9e421c4f9ce457251fa8df031cd5078 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Fri, 8 Jan 2010 15:25:42 +0100 Subject: [PATCH] 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 --- hw/pc.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hw/pc.c b/hw/pc.c index e32e574..a93c5f2 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 */ } }, -- 2.7.4