Argument file is also needed there.
Signed-off-by: Juan Quintela <[email protected]>
---
tests/migration-test.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/migration-test.c b/tests/migration-test.c
index 0448bc77dc..32f3bb86a8 100644
--- a/tests/migration-test.c
+++ b/tests/migration-test.c
@@ -464,8 +464,9 @@ static void test_migrate_start(QTestState **from,
QTestState **to,
cmd_dst = g_strdup_printf("-machine accel=%s -m 256M"
" -name pcdest,debug-threads=on"
" -serial file:%s/dest_serial"
+ " -drive file=%s,if=pflash,format=raw"
" -incoming %s",
- accel, tmpfs, uri);
+ accel, tmpfs, bootpath, uri);
} else {
g_assert_not_reached();
}
--
2.14.3