qemu: Use oops=panic panic=-1
authorRichard W.M. Jones <rjones@redhat.com>
Thu, 22 Aug 2013 14:58:16 +0000 (15:58 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Thu, 22 Aug 2013 14:59:57 +0000 (15:59 +0100)
panic=-1 causes the kernel to reboot immediately without
waiting.

oops=panic turns kernel OOPS into a panic.

qemu-sanity-check.in

index 24ce8ef..712fd8b 100644 (file)
@@ -146,7 +146,7 @@ argv[$((i++))]="$kernel"
 argv[$((i++))]="-initrd"
 argv[$((i++))]="$initrd"
 argv[$((i++))]="-append"
-argv[$((i++))]="console=ttyS0 panic=1"
+argv[$((i++))]="console=ttyS0 oops=panic panic=-1"
 
 #echo "${argv[@]}"