Commit 5f4260fc authored by Alexander Epaneshnikov's avatar Alexander Epaneshnikov
Browse files

add sound support in run_archiso.sh

also included serial output on stdio it helps in debugging without sight.
parent 2c66cd45
...@@ -86,12 +86,16 @@ run_image() { ...@@ -86,12 +86,16 @@ run_image() {
-drive "id=${mediatype}0,if=none,format=raw,media=${mediatype/hd/disk},readonly=on,file=${image}" \ -drive "id=${mediatype}0,if=none,format=raw,media=${mediatype/hd/disk},readonly=on,file=${image}" \
-display sdl \ -display sdl \
-vga virtio \ -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 \ -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 \ -global ICH9-LPC.disable_s3=1 \
-enable-kvm \ -enable-kvm \
"${qemu_options[@]}" \ "${qemu_options[@]}" \
-no-reboot -no-reboot \
-serial stdio
} }
set_image() { set_image() {
......
Supports Markdown
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