vm-virtio: Move fs.rs to vhost_user module

vhost-user-net introduced a new module vhost_user inside the vm-virtio
crate. Because virtio-fs is actually vhost-user-fs, it belongs to this
new module and needs to be moved there.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
Sebastien Boeuf
2019-08-30 09:16:32 -07:00
committed by Rob Bradford
parent cc7a96e9d3
commit 56cad00f2e
4 changed files with 10 additions and 10 deletions

View File

@@ -250,7 +250,7 @@ pub enum DeviceManagerError {
CreateVirtioRng(io::Error),
/// Cannot create virtio-fs device
CreateVirtioFs(vm_virtio::fs::Error),
CreateVirtioFs(vm_virtio::vhost_user::fs::Error),
/// Cannot create virtio-pmem device
CreateVirtioPmem(io::Error),
@@ -968,7 +968,7 @@ impl DeviceManager {
));
}
let virtio_fs_device = vm_virtio::Fs::new(
let virtio_fs_device = vm_virtio::vhost_user::Fs::new(
fs_sock,
fs_cfg.tag,
fs_cfg.num_queues,