virtio-devices, vmm: Move to ExternalDmaMapping from vm-device

Now that ExternalDmaMapping is defined in vm-device, let's use it from
there.

This commit also defines the function get_host_address_range() to move
away from the vfio-ioctls dependency.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
Sebastien Boeuf
2021-02-23 14:57:10 +01:00
committed by Samuel Ortiz
parent 5bd05b1af0
commit aee1155870
7 changed files with 23 additions and 8 deletions

1
Cargo.lock generated
View File

@@ -1420,7 +1420,6 @@ dependencies = [
"serde",
"serde_derive",
"serde_json",
"vfio-ioctls",
"vhost",
"virtio-bindings",
"vm-allocator",