mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-03 03:15:20 +00:00
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 <sebastien.boeuf@intel.com>
This commit is contained in:
parent
345c922cb9
commit
f427d94422
@ -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
|
||||
```
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user