Merge remote-tracking branch 'remotes/mdroth/tags/qga-pull-2019-11-04-tag' into staging
[qemu/ar7.git] / tests / libqos / virtio-9p.h
blobb54e89b3a1d94b314109eae9eaa4fea0458a9d55
1 /*
2 * libqos driver framework
4 * Copyright (c) 2018 Emanuele Giuseppe Esposito <e.emanuelegiuseppe@gmail.com>
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License version 2 as published by the Free Software Foundation.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, see <http://www.gnu.org/licenses/>
19 #ifndef TESTS_LIBQOS_VIRTIO_9P_H
20 #define TESTS_LIBQOS_VIRTIO_9P_H
22 #include "libqos/qgraph.h"
23 #include "libqos/virtio.h"
24 #include "libqos/virtio-pci.h"
26 typedef struct QVirtio9P QVirtio9P;
27 typedef struct QVirtio9PPCI QVirtio9PPCI;
28 typedef struct QVirtio9PDevice QVirtio9PDevice;
30 #define MOUNT_TAG "qtest"
32 struct QVirtio9P {
33 QVirtioDevice *vdev;
34 QVirtQueue *vq;
37 struct QVirtio9PPCI {
38 QVirtioPCIDevice pci_vdev;
39 QVirtio9P v9p;
42 struct QVirtio9PDevice {
43 QOSGraphObject obj;
44 QVirtio9P v9p;
47 #endif