blob: 1faa80d92f05d14fe1c769ad5736b3f6065b0841 [file] [log] [blame]
Eric Van Hensbergenb530cc72007-10-23 13:47:31 -05001#ifndef _LINUX_VIRTIO_9P_H
2#define _LINUX_VIRTIO_9P_H
Rusty Russell674bfc22008-07-25 12:06:03 -05003/* This header is BSD licensed so anyone can use the definitions to implement
4 * compatible drivers/servers. */
Randy Dunlap5a19ae42010-08-10 18:01:28 -07005#include <linux/types.h>
Christian Borntraegere95646c2009-09-30 11:17:21 +02006#include <linux/virtio_ids.h>
Eric Van Hensbergenb530cc72007-10-23 13:47:31 -05007#include <linux/virtio_config.h>
Fang Wenqib1264682010-06-01 02:43:06 +00008#include <linux/types.h>
Eric Van Hensbergenb530cc72007-10-23 13:47:31 -05009
Aneesh Kumar K.V97ee9b02010-03-06 04:44:14 +000010/* The feature bitmap for virtio 9P */
11
12/* The mount point is specified in a config variable */
13#define VIRTIO_9P_MOUNT_TAG 0
14
15struct virtio_9p_config {
16 /* length of the tag name */
17 __u16 tag_len;
18 /* non-NULL terminated tag name */
19 __u8 tag[0];
20} __attribute__((packed));
21
Eric Van Hensbergenb530cc72007-10-23 13:47:31 -050022#endif /* _LINUX_VIRTIO_9P_H */