diff options
Diffstat (limited to 'kvmx')
-rwxr-xr-x | kvmx | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -390,7 +390,11 @@ function kvmx_up { spice_opts="$spice_opts -chardev spicevmc,id=spicechannel0,name=vdagent" fi - if [ -z "$sound" ] || [ "$sound" != "0" ]; then + if [ "$sound" != "0" ]; then + if [ -z "$sound" ]; then + sound="ac97" + fi + sound_opts="-soundhw $sound" fi |