From: Michael S. Tsirkin Date: Thu, 30 May 2013 08:35:23 +0000 (+0300) Subject: q35: set fw_name X-Git-Tag: v1.5.1~30 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=eeaa8d33e444ef6bbf2a10bde43aaf079db8d4df;p=thirdparty%2Fqemu.git q35: set fw_name PCI host bridges need to set fw_name to be discoverable by bios for boot device selection. In particular, seabios expects root device to be called "/pci/@i0cf8", so let's set it up like that for Q35. Cc: qemu-stable@nongnu.org Signed-off-by: Michael S. Tsirkin Tested-by: Amos Kong (cherry picked from commit 68c0e134a090666246b467deaf9046e573b089f2) Signed-off-by: Michael Roth --- diff --git a/hw/pci-host/q35.c b/hw/pci-host/q35.c index 8467f864506..24df6b55cb2 100644 --- a/hw/pci-host/q35.c +++ b/hw/pci-host/q35.c @@ -76,6 +76,7 @@ static void q35_host_class_init(ObjectClass *klass, void *data) k->init = q35_host_init; dc->props = mch_props; + dc->fw_name = "pci"; } static void q35_host_initfn(Object *obj)