Ia64: stop passing in global variable as argument to cmos_init()
[qemu-kvm/amd-iommu.git] / hw / virtio-balloon.h
blob27d6985f67bdfdacfd0c3dfa2785633e36f3ea53
1 /*
2 * Virtio Support
4 * Copyright IBM, Corp. 2007-2008
6 * Authors:
7 * Anthony Liguori <aliguori@us.ibm.com>
8 * Rusty Russell <rusty@rustcorp.com.au>
10 * This work is licensed under the terms of the GNU GPL, version 2. See
11 * the COPYING file in the top-level directory.
15 #ifndef _QEMU_VIRTIO_BALLOON_H
16 #define _QEMU_VIRTIO_BALLOON_H
18 /* from Linux's linux/virtio_balloon.h */
20 /* The ID for virtio_balloon */
21 #define VIRTIO_ID_BALLOON 5
23 /* The feature bitmap for virtio balloon */
24 #define VIRTIO_BALLOON_F_MUST_TELL_HOST 0 /* Tell before reclaiming pages */
26 struct virtio_balloon_config
28 /* Number of pages host wants Guest to give up. */
29 uint32_t num_pages;
30 /* Number of pages we've actually got in balloon. */
31 uint32_t actual;
34 #endif