aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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