iotests: check: multiprocessing support
[qemu/rayw.git] / tests / qtest / libqos / virtio-iommu.h
blobd753761958aeb15992d70954989c1ddd4e5eed9c
1 /*
2 * libqos driver virtio-iommu-pci framework
4 * Copyright (c) 2021 Red Hat, Inc.
6 * Authors:
7 * Eric Auger <eric.auger@redhat.com>
9 * This work is licensed under the terms of the GNU GPL, version 2 or (at your
10 * option) any later version. See the COPYING file in the top-level directory.
14 #ifndef TESTS_LIBQOS_VIRTIO_IOMMU_H
15 #define TESTS_LIBQOS_VIRTIO_IOMMU_H
17 #include "qgraph.h"
18 #include "virtio.h"
19 #include "virtio-pci.h"
21 typedef struct QVirtioIOMMU QVirtioIOMMU;
22 typedef struct QVirtioIOMMUPCI QVirtioIOMMUPCI;
23 typedef struct QVirtioIOMMUDevice QVirtioIOMMUDevice;
25 struct QVirtioIOMMU {
26 QVirtioDevice *vdev;
27 QVirtQueue *vq;
30 struct QVirtioIOMMUPCI {
31 QVirtioPCIDevice pci_vdev;
32 QVirtioIOMMU iommu;
35 struct QVirtioIOMMUDevice {
36 QOSGraphObject obj;
37 QVirtioIOMMU iommu;
40 #endif