Timeline for How to share a folder in libvirt+qemu/kvm with Linux guest and Linux host?
Current License: CC BY-SA 3.0
        10 events
    
    | when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 16, 2016 at 18:36 | comment | added | dyasny | Well, this is pretty unusual, I've no idea why they would bloat the code with this nonsense. However, if you want to insert arbitrary qemu commands into the XML, there's a way to do that: libvirt.org/drvqemu.html#qemucommand | |
| Aug 16, 2016 at 16:50 | comment | added | Ned64 | 
        
            
    PS: The qemu(1) man page also has the -net smb=dir option, but how do I enter this into libvirt's XML config file?
        
     | 
|
| Aug 16, 2016 at 16:00 | comment | added | Ned64 | @dyasny My source: unix.stackexchange.com/questions/165554/… but there is no XML config file equivalent, and I could not generate one so far. Documentation is hard to come by. | |
| Aug 16, 2016 at 13:07 | comment | added | dyasny | Built in samba server in QEMU? Since when? | |
| Aug 16, 2016 at 7:19 | comment | added | Ned64 | 
        
            
    Thanks, this could be a solution (but isn't, yet).  I already have Samba running but services on the host should not be accessible by the guest. Maybe qemu's built-in Samba server could be an option? I searched but could not find a way to enable it using libvirt/virsh's XML config file.
        
     | 
|
| Aug 15, 2016 at 16:15 | history | edited | dyasny | CC BY-SA 3.0 | 
        
            
             
                
                    everything added under "EDIT" 
                
             
        
     | 
| Aug 15, 2016 at 16:14 | comment | added | dyasny | This does provide an answer, the o/p wanted a way to share a directory between the VM and the host. I'm not sure full instructions on how to set up a file share or every sort imaginable will be feasible in this context, the point of the answer is to just say "use a regular file share". | |
| Aug 15, 2016 at 15:58 | comment | added | Julie Pelletier | I'm not entirely sure it doesn't answer the question, but it should probably be edited to provide a more complete answer. | |
| Aug 15, 2016 at 13:40 | review | Low quality posts | |||
| Aug 15, 2016 at 16:16 | |||||
| Aug 15, 2016 at 13:16 | history | answered | dyasny | CC BY-SA 3.0 |