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 <[email protected]>
---
 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


Reply via email to