root / balloon.h @ 7b239bec
History | View | Annotate | Download (537 Bytes)
1 | d096ab91 | aliguori | /*
|
---|---|---|---|
2 | d096ab91 | aliguori | * Balloon
|
3 | d096ab91 | aliguori | *
|
4 | d096ab91 | aliguori | * Copyright IBM, Corp. 2008
|
5 | d096ab91 | aliguori | *
|
6 | d096ab91 | aliguori | * Authors:
|
7 | d096ab91 | aliguori | * Anthony Liguori <aliguori@us.ibm.com>
|
8 | d096ab91 | aliguori | *
|
9 | d096ab91 | aliguori | * This work is licensed under the terms of the GNU GPL, version 2. See
|
10 | d096ab91 | aliguori | * the COPYING file in the top-level directory.
|
11 | d096ab91 | aliguori | *
|
12 | d096ab91 | aliguori | */
|
13 | d096ab91 | aliguori | |
14 | d096ab91 | aliguori | #ifndef _QEMU_BALLOON_H
|
15 | d096ab91 | aliguori | #define _QEMU_BALLOON_H
|
16 | d096ab91 | aliguori | |
17 | d096ab91 | aliguori | #include "cpu-defs.h" |
18 | d096ab91 | aliguori | |
19 | d096ab91 | aliguori | typedef ram_addr_t (QEMUBalloonEvent)(void *opaque, ram_addr_t target); |
20 | d096ab91 | aliguori | |
21 | d096ab91 | aliguori | void qemu_add_balloon_handler(QEMUBalloonEvent *func, void *opaque); |
22 | d096ab91 | aliguori | |
23 | d096ab91 | aliguori | void qemu_balloon(ram_addr_t target);
|
24 | d096ab91 | aliguori | |
25 | d096ab91 | aliguori | ram_addr_t qemu_balloon_status(void);
|
26 | d096ab91 | aliguori | |
27 | d096ab91 | aliguori | #endif |