qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 09/40] vhost-scsi: fix wrong vhost-scsi firmware pat


From: Michael Roth
Subject: [Qemu-devel] [PATCH 09/40] vhost-scsi: fix wrong vhost-scsi firmware path
Date: Wed, 21 Oct 2015 12:51:39 -0500

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>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
(cherry picked from commit f42bf6a262ab5923a1a3bc8f731b830396937c47)
Signed-off-by: Michael Roth <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 a69918b..62d9100 100644
--- a/hw/scsi/vhost-scsi.c
+++ b/hw/scsi/vhost-scsi.c
@@ -291,7 +291,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);
 }
 
-- 
1.9.1




reply via email to

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