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