]> Git Repo - qemu.git/blame - include/sysemu/balloon.h
avoid TABs in files that only contain a few
[qemu.git] / include / sysemu / balloon.h
CommitLineData
d096ab91
AL
1/*
2 * Balloon
3 *
4 * Copyright IBM, Corp. 2008
5 *
6 * Authors:
7 * Anthony Liguori <[email protected]>
8 *
9 * This work is licensed under the terms of the GNU GPL, version 2. See
10 * the COPYING file in the top-level directory.
11 *
12 */
13
2a6a4076
MA
14#ifndef QEMU_BALLOON_H
15#define QEMU_BALLOON_H
d096ab91 16
112ed241 17#include "qapi/qapi-types-misc.h"
28c28973 18
30fb2ca6 19typedef void (QEMUBalloonEvent)(void *opaque, ram_addr_t target);
96637bcd 20typedef void (QEMUBalloonStatus)(void *opaque, BalloonInfo *info);
d096ab91 21
6c6ec182 22int qemu_add_balloon_handler(QEMUBalloonEvent *event_func,
7d37435b 23 QEMUBalloonStatus *stat_func, void *opaque);
8a7d552c 24void qemu_remove_balloon_handler(void *opaque);
371ff5a3
DDAG
25bool qemu_balloon_is_inhibited(void);
26void qemu_balloon_inhibit(bool state);
d096ab91 27
d096ab91 28#endif
This page took 0.514516 seconds and 4 git commands to generate.