[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [SeaBIOS PATCH v2] boot: fix fw_dev_path pattern to match q

From: Amos Kong
Subject: [Qemu-devel] [SeaBIOS PATCH v2] boot: fix fw_dev_path pattern to match q35
Date: Thu, 30 May 2013 10:51:53 +0800

We match pci domain by "/address@hidden" in SeaBIOS, but fw_dev_path prefix
of q35 is "/address@hidden". It causes boot priority of q35 devices
could not be changed by bootindex parameter in QEMU.

I have a patch to change typename of q35 to 'pci-q35', this patch fixes
the pattern to match both pc-i440fx and q35.

Signed-off-by: Amos Kong <address@hidden>
v2: use exact pattern
 src/boot.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/boot.c b/src/boot.c
index c308602..300ecc3 100644
--- a/src/boot.c
+++ b/src/boot.c
@@ -97,7 +97,7 @@ find_prio(const char *glob)
     return -1;
-#define FW_PCI_DOMAIN "/address@hidden"
+#define FW_PCI_DOMAIN "/address@hidden"
 static char *
 build_pci_path(char *buf, int max, const char *devname, struct pci_device *pci)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]