runtime-rs: change cache mode from none to never

New Rust virtiofsd's `cache` mode doesn't support `none` mode,
we should use `never` to replace it.

Fixes: #6018

Signed-off-by: Bin Liu <bin@hyper.sh>
This commit is contained in:
Bin Liu 2023-01-10 14:22:04 +08:00
parent 7b309b578d
commit 82c59efd65

View File

@ -35,7 +35,7 @@ pub struct ShareVirtioFsStandaloneConfig {
// virtio_fs_daemon is the virtio-fs vhost-user daemon path
pub virtio_fs_daemon: String,
// virtio_fs_cache cache mode for fs version cache or "none"
// virtio_fs_cache cache mode for fs version cache
pub virtio_fs_cache: String,
// virtio_fs_extra_args passes options to virtiofsd daemon
pub virtio_fs_extra_args: Vec<String>,