master
h 34 lines 671 Bytes
Raw
1 /*
2 * virtio-scmi structures
3 *
4 * SPDX-FileCopyrightText: Red Hat, Inc.
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 */
7
8 #ifndef TESTS_LIBQOS_VIRTIO_SCMI_H
9 #define TESTS_LIBQOS_VIRTIO_SCMI_H
10
11 #include "qgraph.h"
12 #include "virtio.h"
13 #include "virtio-pci.h"
14
15 typedef struct QVhostUserSCMI QVhostUserSCMI;
16 typedef struct QVhostUserSCMIPCI QVhostUserSCMIPCI;
17 typedef struct QVhostUserSCMIDevice QVhostUserSCMIDevice;
18
19 struct QVhostUserSCMI {
20 QVirtioDevice *vdev;
21 QVirtQueue **queues;
22 };
23
24 struct QVhostUserSCMIPCI {
25 QVirtioPCIDevice pci_vdev;
26 QVhostUserSCMI scmi;
27 };
28
29 struct QVhostUserSCMIDevice {
30 QOSGraphObject obj;
31 QVhostUserSCMI scmi;
32 };
33
34 #endif