]> Git Repo - qemu.git/blame - tests/libqos/virtio-balloon.h
Merge remote-tracking branch 'remotes/vivier/tags/q800-branch-pull-request' into...
[qemu.git] / tests / libqos / virtio-balloon.h
CommitLineData
29241067
EGE
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
f91005e1
MA
19#ifndef TESTS_LIBQOS_VIRTIO_BALLOON_H
20#define TESTS_LIBQOS_VIRTIO_BALLOON_H
21
29241067
EGE
22#include "libqos/qgraph.h"
23#include "libqos/virtio.h"
24#include "libqos/virtio-pci.h"
25
26typedef struct QVirtioBalloon QVirtioBalloon;
27typedef struct QVirtioBalloonPCI QVirtioBalloonPCI;
28typedef struct QVirtioBalloonDevice QVirtioBalloonDevice;
29
30struct QVirtioBalloon {
31 QVirtioDevice *vdev;
32};
33
34struct QVirtioBalloonPCI {
35 QVirtioPCIDevice pci_vdev;
36 QVirtioBalloon balloon;
37};
38
39struct QVirtioBalloonDevice {
40 QOSGraphObject obj;
41 QVirtioBalloon balloon;
42};
f91005e1
MA
43
44#endif
This page took 0.082573 seconds and 4 git commands to generate.