block: Ignore generated job QAPI files
[qemu/ar7.git] / hw / 9pfs / virtio-9p.h
blobe763da2c02bfa824be1f6f6a5b44b02afcfb28bc
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"
8 typedef struct V9fsVirtioState
10 VirtIODevice parent_obj;
11 VirtQueue *vq;
12 size_t config_size;
13 VirtQueueElement *elems[MAX_REQ];
14 V9fsState state;
15 } V9fsVirtioState;
17 #define TYPE_VIRTIO_9P "virtio-9p-device"
18 #define VIRTIO_9P(obj) \
19 OBJECT_CHECK(V9fsVirtioState, (obj), TYPE_VIRTIO_9P)
21 #endif