sd/milkymist-memcard: Fix format string
[qemu/armbru.git] / tests / qtest / libqos / virtio-serial.h
blob3328c6cf191a8b4eeec7ba690680ea613c5a5f0e
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.1 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_SERIAL_H
20 #define TESTS_LIBQOS_VIRTIO_SERIAL_H
22 #include "libqos/qgraph.h"
23 #include "libqos/virtio.h"
24 #include "libqos/virtio-pci.h"
26 typedef struct QVirtioSerial QVirtioSerial;
27 typedef struct QVirtioSerialPCI QVirtioSerialPCI;
28 typedef struct QVirtioSerialDevice QVirtioSerialDevice;
30 struct QVirtioSerial {
31 QVirtioDevice *vdev;
34 struct QVirtioSerialPCI {
35 QVirtioPCIDevice pci_vdev;
36 QVirtioSerial serial;
39 struct QVirtioSerialDevice {
40 QOSGraphObject obj;
41 QVirtioSerial serial;
44 #endif