add sound support in run_archiso.sh

also included serial output on stdio it helps in debugging without sight.
This commit is contained in:
Alexander Epaneshnikov 2020-10-07 18:11:13 +03:00
parent 2c66cd45e0
commit 5f4260fcb1

View file

@ -86,12 +86,16 @@ run_image() {
-drive "id=${mediatype}0,if=none,format=raw,media=${mediatype/hd/disk},readonly=on,file=${image}" \
-display sdl \
-vga virtio \
-audiodev pa,id=snd0 \
-device ich9-intel-hda \
-device hda-output,audiodev=snd0 \
-device virtio-net-pci,romfile=,netdev=net0 -netdev user,id=net0 \
-machine type=q35,smm=on,accel=kvm \
-machine type=q35,smm=on,accel=kvm,pcspk-audiodev=snd0 \
-global ICH9-LPC.disable_s3=1 \
-enable-kvm \
"${qemu_options[@]}" \
-no-reboot
-no-reboot \
-serial stdio
}
set_image() {