cloud-hypervisor/pci/src
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
..
bus.rs pci: Address Rust 1.51.0 clippy issue (upper_case_acroynms) 2021-03-26 11:32:09 +00:00
configuration.rs pci: Versionize PCI state 2021-05-26 22:29:35 +02:00
device.rs pci, virtio-devices: Extend barrier returning through PCI code 2020-12-17 11:23:53 +00:00
lib.rs pci: Versionize PCI state 2021-05-26 22:29:35 +02:00
msi.rs misc: Remove unnecessary "extern crate" 2021-05-12 17:26:11 +02:00
msix.rs pci: Versionize PCI state 2021-05-26 22:29:35 +02:00
vfio.rs vmm: hypervisor: split set_user_memory_region to two functions 2021-07-05 09:45:45 +02:00