Mount a folder from host to a kvm guest (without samba or nfs)

jhd

New Member
Nov 21, 2013
11
0
1
Hi, I need to mount a folder from kvm host to guest, without use network (samba or nfs)
I saw in some howtos something about putting an xml code like this on the host, but not where it must to be:
Code:
<filesystem type='mount' accessmode='mapped'> 
     <source dir='/tmp/shared'/> 
     <target dir='mytag'/> 
</ filesystem>
And then mount the folder on guest:

Code:
mount-t 9p-o tRNAs = virtio, version = 9p2000.L mytag / mnt
The point is that I could'n find the configuration file where I must insert the xml code.

I don't know neither if is posible to do it with "qm" command. I was looking for about on man page and google but I couldent find anything.

I would be very grateful if you can guide me a little about it.

Thank you very much.

J.:.