add sound support in run_archiso.sh
also included serial output on stdio it helps in debugging without sight.
This commit is contained in:
parent
2c66cd45e0
commit
5f4260fcb1
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user