diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2022-10-24 22:11:24 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2022-10-24 22:11:24 -0300 |
commit | 4bdba1917d6e247c1a54e78d9db14bf28e115e11 (patch) | |
tree | 57c618431f412f6b87b8413e6420e20cdc27ed39 | |
parent | 54a16114f444d4672b63b19bbe442f4ae320fc13 (diff) | |
download | kvmx-4bdba1917d6e247c1a54e78d9db14bf28e115e11.tar.gz kvmx-4bdba1917d6e247c1a54e78d9db14bf28e115e11.tar.bz2 |
Fix: update AC97 sound driver and shared_folders_msize
-rwxr-xr-x | kvmx | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |