cloud-hypervisor/pci
Wei Liu 1f2915bff0 vmm: hypervisor: split set_user_memory_region to two functions
Previously the same function was used to both create and remove regions.
This worked on KVM because it uses size 0 to indicate removal.

MSHV has two calls -- one for creation and one for removal. It also
requires having the size field available because it is not slot based.

Split set_user_memory_region to {create/remove}_user_memory_region. For
KVM they still use set_user_memory_region underneath, but for MSHV they
map to different functions.

This fixes user memory region removal on MSHV.

Signed-off-by: Wei Liu <liuwe@microsoft.com>
2021-07-05 09:45:45 +02:00
..
src vmm: hypervisor: split set_user_memory_region to two functions 2021-07-05 09:45:45 +02:00
Cargo.toml build: bump libc from 0.2.96 to 0.2.97 2021-06-14 09:50:38 +00:00