For some time now, I've been using virt-manager
to manage my virtual machines. When I want to copy a file from the host to the vm, I have been using scp
to copy via ssh
over the network. This is kind of tedious, and there must be a way to share a folder similar to VirtualBox. So how can I best share a folder between a KVM host and guest using virt-manager?
Ubuntu – How to share a folder between KVM host and guest using virt-manager
kvmshared-foldersvirt-managervirtualization
Related Question
- Ubuntu – How to route KVM virtual machine audio to Ubuntu 11.10 host using virt-manager
- Ubuntu – How to scroll-back in a virt-manager virtual machine console
- Ubuntu – Virt-Manager to Remote host – continuous password prompt over ssh
- Ubuntu – How to copy&paste from the host to a KVM guest
- Ubuntu – How to properly configure Virt-Manager (QEMU/KVM) with Windows guest
Best Answer
You could use 9p sharing as described at http://www.linux-kvm.org/page/9p_virtio .
Other possibilities include usage of a network file system like NFS or CIFS/Samba.