vmm: Make FsConfig owned

Convert Path to PathBuf, &str to String and remove the associated lifetime.

Fixes #298

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
Samuel Ortiz
2019-09-23 19:23:17 +02:00
committed by Rob Bradford
parent 5323da031c
commit 00674cd850
2 changed files with 9 additions and 9 deletions

View File

@@ -676,7 +676,7 @@ impl DeviceManager {
let virtio_fs_device = vm_virtio::vhost_user::Fs::new(
fs_sock,
fs_cfg.tag,
&fs_cfg.tag,
fs_cfg.num_queues,
fs_cfg.queue_size,
cache,