diff mbox series

[3/7] qemu-debian-test: Remove unusable hda option

Message ID 20180508102303.18684-4-joel@jms.id.au
State Accepted
Headers show
Series CI improvements | expand

Commit Message

Joel Stanley May 8, 2018, 10:22 a.m. UTC
When running this:

 qemu-system-ppc64 -m 2G -M powernv -kernel debian-jessie-vmlinux \
  -initrd debian-jessie-initrd.gz -nographic \
  -device ipmi-bmc-sim,id=ipmi0 -device isa-ipmi-bt,bmc=ipmi0 \
  -hda /tmp/debian-jessie-install.qcow2.kDubGYDrqa

We die with this error:

 qemu-system-ppc64: -hda /tmp/debian-jessie-install.qcow2.kDubGYDrqa: machine type does not support if=ide,bus=0,unit=0

Signed-off-by: Joel Stanley <joel@jms.id.au>
---
 test/run_qemu-jessie-debian-installer_boot_test.sh | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/test/run_qemu-jessie-debian-installer_boot_test.sh b/test/run_qemu-jessie-debian-installer_boot_test.sh
index da946e639780..60648585aacb 100755
--- a/test/run_qemu-jessie-debian-installer_boot_test.sh
+++ b/test/run_qemu-jessie-debian-installer_boot_test.sh
@@ -31,16 +31,15 @@  if [ ! -f debian-jessie-initrd.gz ]; then
 fi
 
 T=`mktemp  --tmpdir skiboot_qemu_debian-jessie-boot_test.XXXXXXXXXX`
-D=`mktemp  --tmpdir debian-jessie-install.qcow2.XXXXXXXXXX`
+#D=`mktemp  --tmpdir debian-jessie-install.qcow2.XXXXXXXXXX`
 
 # In future we should do full install:
 # FIXME: -append "DEBIAN_FRONTEND=text locale=en_US keymap=us hostname=OPALtest domain=unassigned-domain rescue/enable=true"
-
-qemu-img  create -f qcow2 $D 128G 2>&1 > $T
+# qemu-img  create -f qcow2 $D 128G 2>&1 > $T
 
 ( cat <<EOF | expect
 set timeout 600
-spawn $QEMU -m 2G -M powernv -kernel debian-jessie-vmlinux -initrd debian-jessie-initrd.gz -nographic -device ipmi-bmc-sim,id=ipmi0 -device isa-ipmi-bt,bmc=ipmi0 -hda $D
+spawn $QEMU -m 2G -M powernv -kernel debian-jessie-vmlinux -initrd debian-jessie-initrd.gz -nographic -device ipmi-bmc-sim,id=ipmi0 -device isa-ipmi-bt,bmc=ipmi0
 expect {
 timeout { send_user "\nTimeout waiting for petitboot\n"; exit 1 }
 eof { send_user "\nUnexpected EOF\n;" exit 1 }