I’m having the hardest tine setting up a shared folder between a Linux host and Win11guest. I want to get rid of dual boot, but there are a few programs that I use which are Win only. I have set up a VB VM, but I want a fine tuned KVM VM. On VB sharing is trivial, but I can’t get it to work in KVM. I have the host sharing the folder with Samba, and can see it from another Linux VM, but not from windows. Any clues?
Back when I had to use a windows vm just did
qemu ... -net user,smb=$HOME/
then in the windows vm just type
\\10.0.2.4
into file explorer. Does that not work?man qemu
says:Another way is to setup Spice and use a webdav daemon in Windows to transfer files over Spice folder sharing.
You could also just RDP to the machine which is probably the easiest.
The simplest would just be to
scp
files to and from Windows. Like in powershell doscp -R yourusername@10.0.2.2:~/path/stuff output_dir
to get files from Linux.