qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] vhost-scsi: fix wrong vhost-scsi firmware path


From: Gonglei
Subject: Re: [Qemu-devel] [PATCH] vhost-scsi: fix wrong vhost-scsi firmware path
Date: Sun, 6 Sep 2015 15:10:59 +0800
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

On 2015/8/26 9:52, address@hidden wrote:
> From: Gonglei <address@hidden>
> 
> vhost-scsi bootindex does't work because Qemu passes
> wrong fireware path to seabios.
> 
> before:
>   /address@hidden/address@hidden@0/address@hidden,0
> after applying the patch:
>   /address@hidden/address@hidden/address@hidden/address@hidden,0
> 
> Reported-by: Subo <address@hidden>
> Signed-off-by: Gonglei <address@hidden>
> ---
>  hw/scsi/vhost-scsi.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/hw/scsi/vhost-scsi.c b/hw/scsi/vhost-scsi.c
> index 7eacca9..bac9ddb 100644
> --- a/hw/scsi/vhost-scsi.c
> +++ b/hw/scsi/vhost-scsi.c
> @@ -292,7 +292,7 @@ static char *vhost_scsi_get_fw_dev_path(FWPathProvider 
> *p, BusState *bus,
>  {
>      VHostSCSI *s = VHOST_SCSI(dev);
>      /* format: address@hidden/address@hidden,lun */
> -    return g_strdup_printf("address@hidden/address@hidden,%x", s->channel,
> +    return g_strdup_printf("/address@hidden/address@hidden,%x", s->channel,
>                             qdev_fw_name(dev), s->target, s->lun);
>  }
>  
> 

Ping...




reply via email to

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