From 4bdba1917d6e247c1a54e78d9db14bf28e115e11 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 24 Oct 2022 22:11:24 -0300 Subject: Fix: update AC97 sound driver and shared_folders_msize --- kvmx | 6 +++--- 1 file 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 -- cgit v1.2.3