Commit c799d7db authored by Elliot Berman's avatar Elliot Berman Committed by Treehugger Robot
Browse files

FROMLIST: virt: gunyah: Add ioctl to bind guestmem to VMs

A maple tree is used to maintain a map from guest address ranges to a
guestmemfd that provides the memory for that range of memory for the
guest. The mapping of guest address range to guestmemfd is called a
binding. Implement an ioctl to add/remove bindings to the virtual
machine. The binding determines whether the memory is shared (host
retains access) or lent (host loses access).

Bug: 338347082
Link: https://lore.kernel.org/all/20240222-gunyah-v17-24-1e9da6763d38@quicinc.com/


Change-Id: I18292bb3c3c3c771db91d48c45c41ac89b40a64f
Signed-off-by: default avatarElliot Berman <quic_eberman@quicinc.com>
parent 7dae3723
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment