]> Git Repo - qemu.git/blob - tests/libqos/virtio-rng.h
Merge remote-tracking branch 'remotes/huth-gitlab/tags/pull-request-2019-05-21' into...
[qemu.git] / tests / libqos / virtio-rng.h
1 /*
2  * libqos driver framework
3  *
4  * Copyright (c) 2018 Emanuele Giuseppe Esposito <[email protected]>
5  *
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.
9  *
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.
14  *
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/>
17  */
18
19 #include "libqos/qgraph.h"
20 #include "libqos/virtio.h"
21 #include "libqos/virtio-pci.h"
22
23 typedef struct QVirtioRng QVirtioRng;
24 typedef struct QVirtioRngPCI QVirtioRngPCI;
25 typedef struct QVirtioRngDevice QVirtioRngDevice;
26
27 struct QVirtioRng {
28     QVirtioDevice *vdev;
29 };
30
31 struct QVirtioRngPCI {
32     QVirtioPCIDevice pci_vdev;
33     QVirtioRng rng;
34 };
35
36 struct QVirtioRngDevice {
37     QOSGraphObject obj;
38     QVirtioRng rng;
39 };
This page took 0.025376 seconds and 4 git commands to generate.