xen-balloon: Move core balloon functionality out of module
authorDaniel De Graaf <dgdegra@tycho.nsa.gov>
Mon, 14 Mar 2011 15:29:37 +0000 (11:29 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 16 Mar 2011 14:05:34 +0000 (10:05 -0400)
commit803eb047a28d239809fff1f87274cdaa94e0d8ea
tree67451cde4571c547314c6c28ae151741b3ff89af
parent40095de1f9082f058970b985a96d2fbef43f94f4
xen-balloon: Move core balloon functionality out of module

The basic functionality of ballooning pages is useful for Xen drivers in
general. Rather than require a dependency on the balloon module, split
the functionality that is reused into the core. The balloon module is
still required to follow ballooning requests from xenstore or to view
balloon statistics in sysfs.

Acked-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/Makefile
drivers/xen/balloon.c
drivers/xen/xen-balloon.c [new file with mode: 0644]
include/xen/balloon.h [new file with mode: 0644]