aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2022-10-24 22:11:24 -0300
committerSilvio Rhatto <rhatto@riseup.net>2022-10-24 22:11:24 -0300
commit4bdba1917d6e247c1a54e78d9db14bf28e115e11 (patch)
tree57c618431f412f6b87b8413e6420e20cdc27ed39
parent54a16114f444d4672b63b19bbe442f4ae320fc13 (diff)
downloadkvmx-4bdba1917d6e247c1a54e78d9db14bf28e115e11.tar.gz
kvmx-4bdba1917d6e247c1a54e78d9db14bf28e115e11.tar.bz2
Fix: update AC97 sound driver and shared_folders_msize
-rwxr-xr-xkvmx6
1 files changed, 3 insertions, 3 deletions
diff --git a/kvmx b/kvmx
index 25dd0a3..455f5b6 100755
--- a/kvmx
+++ b/kvmx
@@ -539,10 +539,10 @@ function kvmx_up {
if [ "$sound" != "0" ]; then
if [ -z "$sound" ]; then
- sound="ac97"
+ sound="AC97"
fi
- sound_opts="-soundhw $sound"
+ sound_opts="-device $sound"
fi
if [ ! -z "$image_drive" ] && [ "$image_drive" == "cdrom" ]; then
@@ -695,7 +695,7 @@ function kvmx_up {
IFS="$old_ifs"
echo "Mounting $shared_folder on $shared_folder_mountpoint ($id) on guest using 9p..."
echo "sudo mkdir -p $shared_folder_mountpoint" | kvmx_ssh
- echo "sudo mount -t 9p -o trans=virtio $id $shared_folder_mountpoint -oversion=9p2000.L,posixacl,cache=$shared_folders_cache -o sync -o dirsync" | kvmx_ssh
+ echo "sudo mount -t 9p -o trans=virtio,msize=$shared_folders_msize $id $shared_folder_mountpoint -oversion=9p2000.L,posixacl,cache=$shared_folders_cache -o sync -o dirsync" | kvmx_ssh
IFS=","
unset shared_folder