qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [SeaBIOS PATCH] boot: fix fw_dev_path pattern for q35-p


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [SeaBIOS PATCH] boot: fix fw_dev_path pattern for q35-pcihost
Date: Tue, 28 May 2013 14:36:43 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6

Il 28/05/2013 14:28, Amos Kong ha scritto:
> Bootindex string passed from qemu:
>  /address@hidden/address@hidden/address@hidden
> 
> We match pci domain by "/address@hidden" in SeaBIOS, but fw_dev_path prefix
> of q35 is "/address@hidden". So bootindex in qemu commandline
> doesn't work if it uses q35 machine type.
> 
> This patch fixes the pattern to match both original pc-i440fx & q35
> 
> Signed-off-by: Amos Kong <address@hidden>

Reviewed-by: Paolo Bonzini <address@hidden>

> ---
>  src/boot.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/boot.c b/src/boot.c
> index cd9d784..f30d47e 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]