mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vmm: Enable guest to report free pages through virtio-balloon
Adding a new parameter free_page_reporting=on|off to the balloon device so that we can enable the corresponding feature from virtio-balloon. Running a VM with a balloon device where this feature is enabled allows the guest to report pages that are free from guest's perspective. This information is used by the VMM to release the corresponding pages on the host. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
@@ -800,7 +800,11 @@ components:
|
||||
deflate_on_oom:
|
||||
type: boolean
|
||||
default: false
|
||||
description: Whether the balloon should deflate when the guest is under memory pressure.
|
||||
description: Deflate balloon when the guest is under memory pressure.
|
||||
free_page_reporting:
|
||||
type: boolean
|
||||
default: false
|
||||
description: Enable guest to report free pages.
|
||||
|
||||
FsConfig:
|
||||
required:
|
||||
|
||||
Reference in New Issue
Block a user