Commit 0859c4b2 authored by Keir Fraser's avatar Keir Fraser
Browse files

ANDROID: KVM: arm64: memory balloon: Notify hyp when ballooning



When running as a protected VM, the hypervisor isolates the VM's
memory pages from the host. Returning ownership of a VM page
therefore requires hypervisor involvement, and acknowledgement from
the protected VM that it is voluntarily cooperating.

To this end, notify pages via the new relinquish hypercall when they
are entered into the memory balloon.

Bug: 240239989
Change-Id: Ic89b45312a7478ddff081a934d99e693eded92dc
Signed-off-by: default avatarKeir Fraser <keirf@google.com>
parent 916db397
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment