]> git.baikalelectronics.ru Git - kernel.git/commit
net/9p: Add multi channel support.
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Mon, 15 Feb 2010 17:27:00 +0000 (17:27 +0000)
committerEric Van Hensbergen <ericvh@gmail.com>
Fri, 5 Mar 2010 21:04:41 +0000 (15:04 -0600)
commit999545286e55e34717dce089763328ea4ba874ad
treeb576ddedbb51a0227597920dd849e98487c872fb
parent5ba93cd9307d7aa9a4259f2a6fe557320b47a44d
net/9p: Add multi channel support.

This is needed for supporting multiple mount points.

We can find out the device names to be used with mount by checking

/sys/devices/virtio-pci/virtio*/device file

if the device file have value 9 then the specific virtio device can
be used for mounting.

ex:
 #cat /sys/devices/virtio-pci/virtio1/device
 9

now we can mount using
# mount -t 9p -o trans=virtio virtio1  /mnt/

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
include/linux/virtio_9p.h
net/9p/trans_virtio.c