tests: Use ch-remote to add/remove devices in test_vfio

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford
2020-03-12 11:05:19 +00:00
committed by Sebastien Boeuf
parent 5c3ce9dd00
commit abccf766ce
2 changed files with 8 additions and 12 deletions

View File

@@ -172,6 +172,7 @@ sudo setcap cap_net_admin+ep target/release/vhost_user_net
# We always copy a fresh version of our binary for our L2 guest.
cp target/release/cloud-hypervisor $VFIO_DIR
cp target/release/ch-remote $VFIO_DIR
# Enable KSM with some reasonable parameters so that it won't take too long
# for the memory to be merged between two processes.