I run the VM using qemu-system-x86_64 -accel kvm,thread=multi -cpu host -smp 2 -m 4096 -drive file=mint20.3.qcow2,if=virtio \ -machine vmport=off \ -vga qxl -usb -device usb-tablet \ -spice port=5900,addr=127.0.0.1,disable-ticketing \ -device virtio-serial-pci \ -chardev spicevmc,id=spicechannel0,debug=0,name=vdagent \ -device virtserialport,chardev=spicechannel0,name=com.redhat.spice.0 \ -device virtserialport,chardev=charchannel1,id=channel1,name=org.spice-space.webdav.0 \ -chardev spiceport,name=org.spice-space.webdav.0,id=charchannel1
The access the VM using remote-viewer spice://127.0.0.1:5900 Then in the remote viewer I click: File > Preference > Share folder > Choose a folder from the Host Then In the host I click: Nemo > Network > Spice client folder Then the directory is mounted and I can share files between guest and host. I want to get rid of the clicks. I think to mount a drive I have to use something like mount -t davfs https://cs10.cloud.com:2078 /mnt/webdav But I am not understanding what URL shall i use after mount -t davfs