virtio_fs.h 634 B

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