From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L8Kus-0002Lc-7r for qemu-devel@nongnu.org; Thu, 04 Dec 2008 15:35:18 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L8Kur-0002LJ-IK for qemu-devel@nongnu.org; Thu, 04 Dec 2008 15:35:17 -0500 Received: from [199.232.76.173] (port=48604 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L8Kur-0002LG-De for qemu-devel@nongnu.org; Thu, 04 Dec 2008 15:35:17 -0500 Received: from savannah.gnu.org ([199.232.41.3]:60432 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L8Kur-0000Ck-1I for qemu-devel@nongnu.org; Thu, 04 Dec 2008 15:35:17 -0500 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1L8Kuq-00088b-Kn for qemu-devel@nongnu.org; Thu, 04 Dec 2008 20:35:16 +0000 Received: from aliguori by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1L8Kuq-00088X-Ds for qemu-devel@nongnu.org; Thu, 04 Dec 2008 20:35:16 +0000 MIME-Version: 1.0 Errors-To: aliguori Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Anthony Liguori Message-Id: Date: Thu, 04 Dec 2008 20:35:16 +0000 Subject: [Qemu-devel] [5875] Add missing file from previous commit. Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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. Signed-off-by: Anthony Liguori Added Paths: ----------- trunk/balloon.h Added: trunk/balloon.h =================================================================== --- trunk/balloon.h (rev 0) +++ trunk/balloon.h 2008-12-04 20:35:16 UTC (rev 5875) @@ -0,0 +1,27 @@ +/* + * Balloon + * + * Copyright IBM, Corp. 2008 + * + * Authors: + * Anthony Liguori + * + * 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