diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2012-11-14 10:09:02 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-16 00:42:09 +0100 |
commit | 9aa8b50b2b3d3a70728438a15a0fdd03a6794a84 (patch) | |
tree | 8300bea35ccd9fb2f815e53df022b6bbbbc85767 /drivers/hv/Kconfig | |
parent | mm: export a function to get vm committed memory (diff) | |
download | linux-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/Kconfig | 6 |
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 |