projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87d23f7
)
q35: set fw_name
author
Michael S. Tsirkin
<mst@redhat.com>
Thu, 30 May 2013 08:35:23 +0000
(11:35 +0300)
committer
Michael S. Tsirkin
<mst@redhat.com>
Thu, 30 May 2013 13:42:10 +0000
(16:42 +0300)
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>
hw/pci-host/q35.c
patch
|
blob
|
history
diff --git
a/hw/pci-host/q35.c
b/hw/pci-host/q35.c
index 8467f864506b0a899f0c5ca0ff5fc7cd6ab4c2ca..24df6b55cb256c9f72e0b7ae8787e6724601a0de 100644
(file)
--- 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)