]> git.proxmox.com Git - mirror_qemu.git/blame - hw/9pfs/virtio-9p.h
migration/postcopy: mis->have_listen_thread check will never be touched
[mirror_qemu.git] / hw / 9pfs / virtio-9p.h
CommitLineData
2a6a4076
MA
1#ifndef QEMU_VIRTIO_9P_H
2#define QEMU_VIRTIO_9P_H
9f107513 3
8744a6a8 4#include "standard-headers/linux/virtio_9p.h"
0d09e41a 5#include "hw/virtio/virtio.h"
ebe74f8b 6#include "9p.h"
bccacf6c 7
00588a0a
WL
8typedef struct V9fsVirtioState
9{
10 VirtIODevice parent_obj;
11 VirtQueue *vq;
12 size_t config_size;
51b19ebe 13 VirtQueueElement *elems[MAX_REQ];
00588a0a
WL
14 V9fsState state;
15} V9fsVirtioState;
16
e7303c43
FK
17#define TYPE_VIRTIO_9P "virtio-9p-device"
18#define VIRTIO_9P(obj) \
00588a0a 19 OBJECT_CHECK(V9fsVirtioState, (obj), TYPE_VIRTIO_9P)
e7303c43 20
9f107513 21#endif