mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
io_uring: Add new feature gate
By adding a new io_uring feature gate, we let the user the possibility to choose if he wants to enable the io_uring improvements or not. Since the io_uring feature depends on the availability on recent host kernels, it's better if we leave it off for now. As soon as our CI will have support for a kernel 5.6 with all the features needed from io_uring, we'll enable this feature gate permanently. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
committed by
Rob Bradford
parent
a85304196e
commit
8f0bf82648
@@ -31,6 +31,7 @@ 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;
|
||||
@@ -46,6 +47,7 @@ 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