summaryrefslogtreecommitdiffstats
path: root/drivers/hv/Kconfig
diff options
context:
space:
mode:
authorK. Y. Srinivasan <kys@microsoft.com>2012-11-14 10:09:02 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-16 00:42:09 +0100
commit9aa8b50b2b3d3a70728438a15a0fdd03a6794a84 (patch)
tree8300bea35ccd9fb2f815e53df022b6bbbbc85767 /drivers/hv/Kconfig
parentmm: export a function to get vm committed memory (diff)
downloadlinux-9aa8b50b2b3d3a70728438a15a0fdd03a6794a84.tar.xz
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/Kconfig')
-rw-r--r--drivers/hv/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/hv/Kconfig b/drivers/hv/Kconfig
index 70f5dde1cc52..b38ef6d8d049 100644
--- a/drivers/hv/Kconfig
+++ b/drivers/hv/Kconfig
@@ -13,4 +13,10 @@ config HYPERV_UTILS
help
Select this option to enable the Hyper-V Utilities.
+config HYPERV_BALLOON
+ tristate "Microsoft Hyper-V Balloon driver"
+ depends on HYPERV
+ help
+ Select this option to enable Hyper-V Balloon driver.
+
endmenu