2019-10-03 18:46:38 +03:00
|
|
|
/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
|
|
|
|
|
|
|
|
#ifndef _LINUX_VIRTIO_FS_H
|
|
|
|
#define _LINUX_VIRTIO_FS_H
|
|
|
|
|
|
|
|
#include "standard-headers/linux/types.h"
|
|
|
|
#include "standard-headers/linux/virtio_ids.h"
|
|
|
|
#include "standard-headers/linux/virtio_config.h"
|
|
|
|
#include "standard-headers/linux/virtio_types.h"
|
|
|
|
|
|
|
|
struct virtio_fs_config {
|
|
|
|
/* Filesystem name (UTF-8, not NUL-terminated, padded with NULs) */
|
|
|
|
uint8_t tag[36];
|
|
|
|
|
|
|
|
/* Number of request queues */
|
|
|
|
uint32_t num_request_queues;
|
|
|
|
} QEMU_PACKED;
|
|
|
|
|
2020-10-26 18:34:30 +03:00
|
|
|
/* For the id field in virtio_pci_shm_cap */
|
|
|
|
#define VIRTIO_FS_SHMCAP_ID_CACHE 0
|
|
|
|
|
2019-10-03 18:46:38 +03:00
|
|
|
#endif /* _LINUX_VIRTIO_FS_H */
|