mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
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:
committed by
Rob Bradford
parent
cc7a96e9d3
commit
56cad00f2e
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user