summaryrefslogtreecommitdiffstats
path: root/drivers/hv/Makefile
diff options
context:
space:
mode:
authorK. Y. Srinivasan <kys@microsoft.com>2012-11-14 01:09:02 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-15 15:42:09 -0800
commit9aa8b50b2b3d3a70728438a15a0fdd03a6794a84 (patch)
tree8300bea35ccd9fb2f815e53df022b6bbbbc85767 /drivers/hv/Makefile
parent997071bcb34005f42e0fe5bc7930e895b070f251 (diff)
downloadblackbird-obmc-linux-9aa8b50b2b3d3a70728438a15a0fdd03a6794a84.tar.gz
blackbird-obmc-linux-9aa8b50b2b3d3a70728438a15a0fdd03a6794a84.zip
Drivers: hv: Add Hyper-V balloon driver
Add the basic balloon driver. Windows hosts dynamically manage the guest memory allocation via a combination memory hot add and ballooning. Memory hot add is used to grow the guest memory upto the maximum memory that can be allocatted to the guest. Ballooning is used to both shrink as well as expand up to the max memory. Supporting hot add needs additional support from the host. We will support hot add when this support is available. For now, by setting the VM startup memory to the VM max memory, we can use ballooning alone to dynamically manage memory allocation amongst competing guests on a given host. Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hv/Makefile')
-rw-r--r--drivers/hv/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hv/Makefile b/drivers/hv/Makefile
index a23938b991c9..e6abfa02d8b7 100644
--- a/drivers/hv/Makefile
+++ b/drivers/hv/Makefile
@@ -1,5 +1,6 @@
obj-$(CONFIG_HYPERV) += hv_vmbus.o
obj-$(CONFIG_HYPERV_UTILS) += hv_utils.o
+obj-$(CONFIG_HYPERV_BALLOON) += hv_balloon.o
hv_vmbus-y := vmbus_drv.o \
hv.o connection.o channel.o \
OpenPOWER on IntegriCloud