[SeaBIOS] [PATCH 1/2] paravirt: init qemu cfg earlier
Michael S. Tsirkin
mst at redhat.com
Mon Apr 29 17:21:43 CEST 2013
This will make it possible to use fw config
info for pci initialization.
Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
---
src/paravirt.c | 2 ++
src/post.c | 1 -
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/paravirt.c b/src/paravirt.c
index e5027d0..85aa423 100644
--- a/src/paravirt.c
+++ b/src/paravirt.c
@@ -97,6 +97,8 @@ qemu_platform_setup(void)
if (!CONFIG_QEMU)
return;
+ qemu_cfg_init();
+
if (runningOnXen()) {
pci_probe_devices();
xen_hypercall_setup();
diff --git a/src/post.c b/src/post.c
index ff201fa..020959b 100644
--- a/src/post.c
+++ b/src/post.c
@@ -108,7 +108,6 @@ interface_init(void)
malloc_init();
// Setup romfile items.
- qemu_cfg_init();
coreboot_cbfs_init();
// Setup ivt/bda/ebda
--
MST
More information about the SeaBIOS
mailing list