hw/cxl/device: Add Flex Bus Port DVSEC
[qemu/ar7.git] / hw / 9pfs / virtio-9p.h
blob20fa118f3a666bd01cb7fd4e5004a6bac23d1830
1 #ifndef QEMU_VIRTIO_9P_H
2 #define QEMU_VIRTIO_9P_H
4 #include "standard-headers/linux/virtio_9p.h"
5 #include "hw/virtio/virtio.h"
6 #include "9p.h"
7 #include "qom/object.h"
9 struct V9fsVirtioState {
10 VirtIODevice parent_obj;
11 VirtQueue *vq;
12 size_t config_size;
13 VirtQueueElement *elems[MAX_REQ];
14 V9fsState state;
17 #define TYPE_VIRTIO_9P "virtio-9p-device"
18 OBJECT_DECLARE_SIMPLE_TYPE(V9fsVirtioState, VIRTIO_9P)
20 #endif