Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

7
  • 1
    I'm not entirely sure it doesn't answer the question, but it should probably be edited to provide a more complete answer. Commented Aug 15, 2016 at 15:58
  • 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". Commented Aug 15, 2016 at 16:14
  • 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. Commented Aug 16, 2016 at 7:19
  • Built in samba server in QEMU? Since when? Commented Aug 16, 2016 at 13:07
  • 1
    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 Commented Aug 16, 2016 at 18:36