tests: Make integration test use vhost_user_{net,block} binaries

With the removal of vhost-user self-spawning support we should migrate
the tests to use the binaries so that we can remove the functionality
from the cloud-hypervisor binary itself.

See: #1925

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford 2020-11-17 10:58:47 +00:00 committed by Samuel Ortiz
parent 0159ab93e1
commit fb70baece0

View File

@ -386,7 +386,7 @@ mod tests {
let vubd_socket_path = String::from(tmp_dir.path().join("vub.sock").to_str().unwrap());
// Start the daemon
let child = Command::new(clh_command("cloud-hypervisor"))
let child = Command::new(clh_command("vhost_user_block"))
.args(&[
"--block-backend",
format!(
@ -461,7 +461,7 @@ mod tests {
)
};
let child = Command::new(clh_command("cloud-hypervisor"))
let child = Command::new(clh_command("vhost_user_net"))
.args(&["--net-backend", net_params.as_str()])
.spawn()
.unwrap();