diff options
author | Michael S. Tsirkin | 2013-05-30 10:35:23 +0200 |
---|---|---|
committer | Michael S. Tsirkin | 2013-05-30 15:42:10 +0200 |
commit | 68c0e134a090666246b467deaf9046e573b089f2 (patch) | |
tree | ae92e2549209638a5c4d3f919d58015449b2e221 /hw/pci-host | |
parent | virtio-pci: drop unused wmb macro (diff) | |
download | qemu-68c0e134a090666246b467deaf9046e573b089f2.tar.gz qemu-68c0e134a090666246b467deaf9046e573b089f2.tar.xz qemu-68c0e134a090666246b467deaf9046e573b089f2.zip |
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 <mst@redhat.com>
Tested-by: Amos Kong <akong@redhat.com>
Diffstat (limited to 'hw/pci-host')
-rw-r--r-- | hw/pci-host/q35.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/pci-host/q35.c b/hw/pci-host/q35.c index 8467f86450..24df6b55cb 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) |