summaryrefslogtreecommitdiff
path: root/balloon.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2010-04-01 19:57:12 +0200
committerAurelien Jarno <aurelien@aurel32.net>2010-04-09 18:55:56 +0200
commit28c289737309f0a6ea6e108b2bb5e2e93c6d7233 (patch)
treeb08de77b0948a1985d12a27943b83011424c4670 /balloon.h
parent00a1555e0cff5d710ea63145b18e2915b84b58de (diff)
move balloon handling to balloon.c
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'balloon.h')
-rw-r--r--balloon.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/balloon.h b/balloon.h
index 8c019eb78..d478e2847 100644
--- a/balloon.h
+++ b/balloon.h
@@ -14,6 +14,8 @@
#ifndef _QEMU_BALLOON_H
#define _QEMU_BALLOON_H
+#include "monitor.h"
+
typedef void (QEMUBalloonEvent)(void *opaque, ram_addr_t target,
MonitorCompletion cb, void *cb_data);
@@ -23,4 +25,9 @@ int qemu_balloon(ram_addr_t target, MonitorCompletion cb, void *opaque);
int qemu_balloon_status(MonitorCompletion cb, void *opaque);
+void monitor_print_balloon(Monitor *mon, const QObject *data);
+int do_info_balloon(Monitor *mon, MonitorCompletion cb, void *opaque);
+int do_balloon(Monitor *mon, const QDict *params,
+ MonitorCompletion cb, void *opaque);
+
#endif