mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vmm: Simplify some of the io_uring code
Small patch creating a dedicated `block_io_uring_is_supported()` function for the non-io_uring case, so that we can simplify the code in the DeviceManager. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
@@ -31,7 +31,6 @@ use std::io;
|
||||
mod device;
|
||||
pub mod balloon;
|
||||
pub mod block;
|
||||
#[cfg(feature = "io_uring")]
|
||||
pub mod block_io_uring;
|
||||
mod console;
|
||||
pub mod epoll_helper;
|
||||
@@ -48,7 +47,6 @@ pub mod vsock;
|
||||
|
||||
pub use self::balloon::*;
|
||||
pub use self::block::*;
|
||||
#[cfg(feature = "io_uring")]
|
||||
pub use self::block_io_uring::*;
|
||||
pub use self::console::*;
|
||||
pub use self::device::*;
|
||||
|
||||
Reference in New Issue
Block a user