Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Tom Yan
archiso
Commits
5f4260fc
Commit
5f4260fc
authored
Oct 07, 2020
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/run_archiso.sh
View file @
5f4260fc
...
...
@@ -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
()
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment