aboutsummaryrefslogtreecommitdiff
path: root/balloon.h
diff options
context:
space:
mode:
Diffstat (limited to 'balloon.h')
-rw-r--r--balloon.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/balloon.h b/balloon.h
index 60b4a5de7b..c3a1ad365d 100644
--- a/balloon.h
+++ b/balloon.h
@@ -16,12 +16,13 @@
#include "cpu-defs.h"
-typedef ram_addr_t (QEMUBalloonEvent)(void *opaque, ram_addr_t target);
+typedef void (QEMUBalloonEvent)(void *opaque, ram_addr_t target,
+ MonitorCompletion cb, void *cb_data);
void qemu_add_balloon_handler(QEMUBalloonEvent *func, void *opaque);
-void qemu_balloon(ram_addr_t target);
+int qemu_balloon(ram_addr_t target, MonitorCompletion cb, void *opaque);
-ram_addr_t qemu_balloon_status(void);
+int qemu_balloon_status(MonitorCompletion cb, void *opaque);
#endif