mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-29 22:14:41 +08:00
9aa8b50b2b
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>
9 lines
249 B
Makefile
9 lines
249 B
Makefile
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 \
|
|
channel_mgmt.o ring_buffer.o
|
|
hv_utils-y := hv_util.o hv_kvp.o
|