Eric Van Hensbergen | b530cc7 | 2007-10-23 13:47:31 -0500 | [diff] [blame] | 1 | #ifndef _LINUX_VIRTIO_9P_H |
| 2 | #define _LINUX_VIRTIO_9P_H |
Rusty Russell | 674bfc2 | 2008-07-25 12:06:03 -0500 | [diff] [blame] | 3 | /* This header is BSD licensed so anyone can use the definitions to implement |
| 4 | * compatible drivers/servers. */ |
Christian Borntraeger | e95646c | 2009-09-30 11:17:21 +0200 | [diff] [blame] | 5 | #include <linux/virtio_ids.h> |
Eric Van Hensbergen | b530cc7 | 2007-10-23 13:47:31 -0500 | [diff] [blame] | 6 | #include <linux/virtio_config.h> |
| 7 | |
Aneesh Kumar K.V | 97ee9b0 | 2010-03-06 04:44:14 +0000 | [diff] [blame] | 8 | /* The feature bitmap for virtio 9P */ |
| 9 | |
| 10 | /* The mount point is specified in a config variable */ |
| 11 | #define VIRTIO_9P_MOUNT_TAG 0 |
| 12 | |
| 13 | struct virtio_9p_config { |
| 14 | /* length of the tag name */ |
| 15 | __u16 tag_len; |
| 16 | /* non-NULL terminated tag name */ |
| 17 | __u8 tag[0]; |
| 18 | } __attribute__((packed)); |
| 19 | |
Eric Van Hensbergen | b530cc7 | 2007-10-23 13:47:31 -0500 | [diff] [blame] | 20 | #endif /* _LINUX_VIRTIO_9P_H */ |