[SeaBIOS] [PATCH 1/2] paravirt: init qemu cfg earlier

Kevin O'Connor kevin at koconnor.net
Tue Apr 30 01:23:37 CEST 2013


On Mon, Apr 29, 2013 at 06:21:43PM +0300, Michael S. Tsirkin wrote:
> 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();

That wont work - the romfile stuff is needed earlier (eg, in
boot_init()).

-Kevin



More information about the SeaBIOS mailing list