crosvm/hypervisor/src
Gurchetan Singh 173fe62df2 kvm: use MappedRegion trait
- Reduces code duplication between MMIO and mmap arenas
- Makes adding future types easier
- Makes upcoming deprecation of kvm crate easier
- Use BTreeMap instead of HashMap since it's more efficient

BUG=chromium:924405
TEST=compile and test

Change-Id: I520abed0926489e64aac046e0dc0cfeb72fae7b2
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2216446
Tested-by: Gurchetan Singh <gurchetansingh@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Commit-Queue: Gurchetan Singh <gurchetansingh@chromium.org>
Reviewed-by: Steven Richman <srichman@google.com>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Auto-Submit: Gurchetan Singh <gurchetansingh@chromium.org>
2020-06-12 05:00:37 +00:00
..
kvm kvm: use MappedRegion trait 2020-06-12 05:00:37 +00:00
aarch64.rs devices: irqchip: new irqchip module 2020-05-18 23:56:23 +00:00
caps.rs Implements the Hypervisor trait for Kvm. 2020-05-15 16:57:22 +00:00
lib.rs hypervisor: add Vm user memory region functions 2020-06-10 17:08:55 +00:00
x86_64.rs devices: irqchip: KvmKernelIrqchip x86_64 impl 2020-06-10 16:33:35 +00:00