build: Use fork of vm-memory with less performance impact

Currently released vm-memory uses aligned and volatile copying for all
data. The version in the fork only uses the assured (and slower) path
for data upto the natural data width.

Fixes: #1258

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford
2020-06-09 14:35:41 +01:00
committed by Sebastien Boeuf
parent 5f9e079a03
commit 09fd325963
2 changed files with 4 additions and 2 deletions
+3
View File
@@ -28,6 +28,9 @@ vmm-sys-util = "0.6.0"
vm-virtio = { path = "vm-virtio" }
vhost_rs = { git = "https://github.com/cloud-hypervisor/vhost", branch = "dragonball", package = "vhost", features = ["vhost-user-slave"] }
[patch.crates-io]
vm-memory = { git = "https://github.com/cloud-hypervisor/vm-memory", branch = "ch" }
[dev-dependencies]
ssh2 = "0.8.1"
dirs = "2.0.2"