My question is linked to this one : https://stackoverflow.com/questions/17880460/mounting-shared-folder-in-kvm-vm-error-mount-unknown-filesystem-type-9p
(but can't comment it)
I have apparently the same settings. Here is my problem :
I want to create a shared folder between host and guest using 9p virtio. I'm following http://www.linux-kvm.org/page/9p_virtio :
# mount -t 9p [...]
mount: unknown filesystem type '9p'
According to http://wiki.qemu.org/Documentation/9psetup this line in my /boot/confg-$(uname -r) is not correct (and quite obviously) :
`
# egrep 'CONFIG_(NET_)?_9P' /boot/config-$(uname -r)
CONFIG_NET_9P=m
CONFIG_NET_9P_VIRTIO=m
CONFIG_NET_9P_RDMA=m
# CONFIG_NET_9P_DEBUG is not set
# CONFIG_9P is not set <------------
`
the doc tells me to enable it, ok, but how ? I'm not at ease with linux kernel settings...
at the beginning of the config file there is :
automaticaly generated make config - do not modify
meaning I can't just add the line.
My questions :
Should I recompile the kernel with some option? Can't I simply enable that on boot, e.g. by changing something in grub settings ? Can I automaticaly enable that on CentOS installation ? (since this will be some kind of template that should be repeatedly done)