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

Joel Stanley joel at jms.id.au
Tue May 8 20:22:59 AEST 2018


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 at jms.id.au>
---
 test/run_qemu-jessie-debian-installer_boot_test.sh | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

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 }
-- 
2.17.0



More information about the Skiboot mailing list