"cacheflow/vscode:/vscode.git/clone" did not exist on "f746ced08d224113110adfc5526d952e51972515"
Commit 73ef553b authored by Antoine Kaufmann's avatar Antoine Kaufmann
Browse files

experiments: for qemu explicitly specify disk media

For some reason I had a case where it detected the tar as a cdrom
parent 5e061530
......@@ -66,8 +66,8 @@ run_qemu() {
#i40e.debug=0x8fffffff
#hugepages=1024
$QEMU_CMD -machine q35 -cpu host \
-drive file=$img_a,if=ide,index=0 \
-drive file=$img_b,if=ide,index=1,driver=raw \
-drive file=$img_a,if=ide,index=0,media=disk \
-drive file=$img_b,if=ide,index=1,media=disk,driver=raw \
-kernel $QEMU_KERNEL \
-append "earlyprintk=ttyS0 console=ttyS0 root=/dev/sda1 init=/home/ubuntu/guestinit.sh rw" \
-serial mon:stdio -m $((16 * 1024)) -smp 1 -display none -enable-kvm \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment