Skip to contentSkip to conversation

[5875] Add missing file from previous commit.

Qemu-devel Anthony Liguori 1 participant 1 message Dec 4, 2008

lore
Share & tools
lore
#0 lore raw

Revision: 5875

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5875
Author:   aliguori
Date:     2008-12-04 20:35:16 +0000 (Thu, 04 Dec 2008)

Log Message:
-----------
Add missing file from previous commit.

Added Paths:
-----------
trunk/balloon.h

Added: trunk/balloon.h
===================================================================

balloon.h +27 -0
@@ -0,0 +1,27 @@
+/*
+ * Balloon
+ *
+ * Copyright IBM, Corp. 2008
+ *
+ * Authors:
+ *  Anthony Liguori   <[email protected]>
+ *
+ * This work is licensed under the terms of the GNU GPL, version 2.  See
+ * the COPYING file in the top-level directory.
+ *
+ */
+
+#ifndef _QEMU_BALLOON_H
+#define _QEMU_BALLOON_H
+
+#include "cpu-defs.h"
+
+typedef ram_addr_t (QEMUBalloonEvent)(void *opaque, ram_addr_t target);
+
+void qemu_add_balloon_handler(QEMUBalloonEvent *func, void *opaque);
+
+void qemu_balloon(ram_addr_t target);
+
+ram_addr_t qemu_balloon_status(void);
+
+#endif