From f427d9442269d09d3c21617c571747b8e05b6597 Mon Sep 17 00:00:00 2001 From: Sebastien Boeuf Date: Mon, 13 Jan 2020 07:51:18 +0100 Subject: [PATCH] virtio-fs: Update virtiofs daemon parameters With the latest version of virtiofsd, some changes have been made to the socket path parameter. This needs to be updated in the cloud hypervisor codebase, so that our CI keeps running correctly. Fixes #611 Signed-off-by: Sebastien Boeuf --- docs/fs.md | 2 +- src/main.rs | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/docs/fs.md b/docs/fs.md index fc35ec9fd..86b3c63c8 100644 --- a/docs/fs.md +++ b/docs/fs.md @@ -26,7 +26,7 @@ _Run virtiofsd_ ```bash ./virtiofsd \ -d \ - -o vhost_user_socket=/tmp/virtiofs \ + --socket-path=/tmp/virtiofs \ -o source=/tmp/shared_dir \ -o cache=none ``` diff --git a/src/main.rs b/src/main.rs index 682e8efb4..3a943cf86 100755 --- a/src/main.rs +++ b/src/main.rs @@ -1718,10 +1718,7 @@ mod tests { // Start the daemon let child = Command::new(virtiofsd_path.as_str()) - .args(&[ - "-o", - format!("vhost_user_socket={}", virtiofsd_socket_path).as_str(), - ]) + .args(&[format!("--socket-path={}", virtiofsd_socket_path).as_str()]) .args(&["-o", format!("source={}", shared_dir).as_str()]) .args(&["-o", format!("cache={}", cache).as_str()]) .spawn()