[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 26/26] q35: set fw_name
From: |
Michael Roth |
Subject: |
[Qemu-devel] [PATCH 26/26] q35: set fw_name |
Date: |
Wed, 12 Jun 2013 16:41:38 -0500 |
From: "Michael S. Tsirkin" <address@hidden>
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: address@hidden
Signed-off-by: Michael S. Tsirkin <address@hidden>
Tested-by: Amos Kong <address@hidden>
(cherry picked from commit 68c0e134a090666246b467deaf9046e573b089f2)
Signed-off-by: Michael Roth <address@hidden>
---
hw/pci-host/q35.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/pci-host/q35.c b/hw/pci-host/q35.c
index 8467f86..24df6b5 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)
--
1.7.9.5
- [Qemu-devel] [PATCH 15/26] do not check pointers after dereferencing them, (continued)
- [Qemu-devel] [PATCH 15/26] do not check pointers after dereferencing them, Michael Roth, 2013/06/12
- [Qemu-devel] [PATCH 16/26] qdev: fix get_fw_dev_path to support to add nothing to fw_dev_path, Michael Roth, 2013/06/12
- [Qemu-devel] [PATCH 17/26] host-libusb: Correct test for USB packet state, Michael Roth, 2013/06/12
- [Qemu-devel] [PATCH 18/26] Fix usage of USB_DEV_FLAG_IS_HOST flag., Michael Roth, 2013/06/12
- [Qemu-devel] [PATCH 19/26] vmxnet3: fix NICState cleanup, Michael Roth, 2013/06/12
- [Qemu-devel] [PATCH 20/26] ui/gtk.c: Fix *BSD build of Gtk+ UI, Michael Roth, 2013/06/12
- [Qemu-devel] [PATCH 21/26] s390x/css: Fix concurrent sense., Michael Roth, 2013/06/12
- [Qemu-devel] [PATCH 22/26] virtio-ccw: Fix unsetting of indicators., Michael Roth, 2013/06/12
- [Qemu-devel] [PATCH 24/26] qemu-char: don't issue CHR_EVENT_OPEN in a BH, Michael Roth, 2013/06/12
- [Qemu-devel] [PATCH 25/26] target-i386: Fix aflag logic for CODE64 and the 0x67 prefix, Michael Roth, 2013/06/12
- [Qemu-devel] [PATCH 26/26] q35: set fw_name,
Michael Roth <=
- [Qemu-devel] [PATCH 23/26] xilinx_axidma: Do not set DMA .notify to NULL after notify, Michael Roth, 2013/06/12
- Re: [Qemu-devel] Patch Round-up for stable 1.5.1, freeze on 2013-06-19, Stefan Hajnoczi, 2013/06/13
- Re: [Qemu-devel] Patch Round-up for stable 1.5.1, freeze on 2013-06-19, Paolo Bonzini, 2013/06/13
- Re: [Qemu-devel] Patch Round-up for stable 1.5.1, freeze on 2013-06-19, Frederic Konrad, 2013/06/13
- Re: [Qemu-devel] Patch Round-up for stable 1.5.1, freeze on 2013-06-19, Frederic Konrad, 2013/06/13