Fix warning loading qcow2 disk iamge

pull/2/head
James Mills 1 week ago
parent aee9aba7c8
commit 0ca58008b4
Signed by: prologic
GPG Key ID: AC4C014F1440EBD6
  1. 2
      test.sh

@ -26,7 +26,7 @@ if [ -z "$DISK" ]; then
DISK="disk.img"
fi
fi
[ -n "$DISK" ] && QEMU_OPTS="$QEMU_OPTS -drive file=$DISK,index=2,media=disk,if=virtio,cache=writethrough"
[ -n "$DISK" ] && QEMU_OPTS="$QEMU_OPTS -drive file=$DISK,index=2,media=disk,if=virtio,cache=writethrough,format=qcow2"
QEMU_OPTS="$QEMU_OPTS
-m 1024

Loading…
Cancel
Save