1f363d039SEric Auger /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
2f363d039SEric Auger 
3f363d039SEric Auger #ifndef _LINUX_VIRTIO_FS_H
4f363d039SEric Auger #define _LINUX_VIRTIO_FS_H
5f363d039SEric Auger 
6f363d039SEric Auger #include "standard-headers/linux/types.h"
7f363d039SEric Auger #include "standard-headers/linux/virtio_ids.h"
8f363d039SEric Auger #include "standard-headers/linux/virtio_config.h"
9f363d039SEric Auger #include "standard-headers/linux/virtio_types.h"
10f363d039SEric Auger 
11f363d039SEric Auger struct virtio_fs_config {
12f363d039SEric Auger 	/* Filesystem name (UTF-8, not NUL-terminated, padded with NULs) */
13f363d039SEric Auger 	uint8_t tag[36];
14f363d039SEric Auger 
15f363d039SEric Auger 	/* Number of request queues */
16f363d039SEric Auger 	uint32_t num_request_queues;
17f363d039SEric Auger } QEMU_PACKED;
18f363d039SEric Auger 
19*53ba2eeeSMatthew Rosato /* For the id field in virtio_pci_shm_cap */
20*53ba2eeeSMatthew Rosato #define VIRTIO_FS_SHMCAP_ID_CACHE 0
21*53ba2eeeSMatthew Rosato 
22f363d039SEric Auger #endif /* _LINUX_VIRTIO_FS_H */
23