aboutsummaryrefslogtreecommitdiffstats
path: root/unmodified_drivers/linux-2.6/balloon
diff options
context:
space:
mode:
authorSteven Hand <steven@xensource.com>2007-04-04 19:59:10 +0100
committerSteven Hand <steven@xensource.com>2007-04-04 19:59:10 +0100
commit1d3e27e802686c099d3b4661668d0bfbd9026a42 (patch)
tree8e8a00dc3f497cdca33bf41cd367a5230b727ba0 /unmodified_drivers/linux-2.6/balloon
parent79f84ceeb54544278305df540d833ac74709ac4b (diff)
downloadxen-1d3e27e802686c099d3b4661668d0bfbd9026a42.tar.gz
xen-1d3e27e802686c099d3b4661668d0bfbd9026a42.tar.bz2
xen-1d3e27e802686c099d3b4661668d0bfbd9026a42.zip
Initial check-in to support PV balloon driver within HVM guests.
Still todo: - fix mapcache invalidation (should happen in Xen) - support 32-on-64 mode correctly Signed-off-by: Steven Hand <steven@xensource.com>
Diffstat (limited to 'unmodified_drivers/linux-2.6/balloon')
-rw-r--r--unmodified_drivers/linux-2.6/balloon/Kbuild9
-rw-r--r--unmodified_drivers/linux-2.6/balloon/Makefile3
2 files changed, 12 insertions, 0 deletions
diff --git a/unmodified_drivers/linux-2.6/balloon/Kbuild b/unmodified_drivers/linux-2.6/balloon/Kbuild
new file mode 100644
index 0000000000..bcc8b05207
--- /dev/null
+++ b/unmodified_drivers/linux-2.6/balloon/Kbuild
@@ -0,0 +1,9 @@
+include $(M)/overrides.mk
+
+obj-m = xen-balloon.o
+
+EXTRA_CFLAGS += -I$(M)/platform-pci
+
+xen-balloon-objs =
+xen-balloon-objs += balloon.o
+xen-balloon-objs += sysfs.o
diff --git a/unmodified_drivers/linux-2.6/balloon/Makefile b/unmodified_drivers/linux-2.6/balloon/Makefile
new file mode 100644
index 0000000000..64e7acd194
--- /dev/null
+++ b/unmodified_drivers/linux-2.6/balloon/Makefile
@@ -0,0 +1,3 @@
+ifneq ($(KERNELRELEASE),)
+include $(src)/Kbuild
+endif