You are not logged in.
Pages: 1
Is there a way to run a qemu-kvm VM with a shared folder via terminal?
Offline
Offline
I've done it with sshfs, either mounting a directory from the host on the VM or the other way, mounting a directory in the VM on the host. The former can be done without any network options in the qemu command. You do need to have sshfs installed.
sshfs user@host-ip:/home/user/some-subdirectory some-mountpoint-in-the-VM
fusermount -u some-mountpoint-in-the-VM # to un-mount the share
I've done it with nfs, too. That's a little more involved. You can even set it up with autofs so the share mounts automatically when you access the mountpoint.
Offline
I've used this. It works. I like the fact that a normal, non-root user can write to the shared directory from the guest system. I seem to recall that on VirtualBox I always had to be root in order to do that.
Offline
Pages: 1