[PATCH master] test: emulate.pl: fix support for multiple block devices

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

 



Block devices on QEMU command line need a unique id. The id factors in
$i, which we failed to increment.

Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx>
---
 test/emulate.pl | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/test/emulate.pl b/test/emulate.pl
index 77b751a329b3..b5e2188b86dd 100755
--- a/test/emulate.pl
+++ b/test/emulate.pl
@@ -253,6 +253,8 @@ sub emulate {
 		} else {
 		    die "--blk unsupported for target\n";
 		}
+
+		$i++;
 	    }
 
 	    # note that barebox doesn't yet support multiple virtio consoles
-- 
2.30.2





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux