diff mbox

[01/15] arm: fix run script testdev probing

Message ID 1418241608-13966-2-git-send-email-drjones@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Andrew Jones Dec. 10, 2014, 7:59 p.m. UTC
Using -kernel doesn't force qemu to exit immediately,
and thus we "hang" when trying to run arm/run. Using
-initrd works though.

Signed-off-by: Andrew Jones <drjones@redhat.com>
---
 arm/run | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/arm/run b/arm/run
index a714350225597..4c5e52525d687 100755
--- a/arm/run
+++ b/arm/run
@@ -26,7 +26,7 @@  if ! $qemu $M -device '?' 2>&1 | grep virtconsole > /dev/null; then
 	exit 2
 fi
 
-if $qemu $M -chardev testdev,id=id -kernel . 2>&1 \
+if $qemu $M -chardev testdev,id=id -initrd . 2>&1 \
 		| grep backend > /dev/null; then
 	echo "$qpath doesn't support chr-testdev. Exiting."
 	exit 2