Skip to content

Commit e62e2e6

Browse files
committed
ioctls: export submodule ioctls
Export submodule ioctls as mshv_ioctls, which is needed by the vfio-ioctls crate. Signed-off-by: Liu Jiang <[email protected]>
1 parent 2127a9b commit e62e2e6

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

coverage_config_x86_64.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"coverage_score": 87.7,
2+
"coverage_score": 87.0,
33
"exclude_path": "",
44
"crate_features": ""
55
}

src/ioctls/mod.rs

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
// Use of this source code is governed by a BSD-style license that can be
66
// found in the THIRD-PARTY file.
77

8+
//! Safe wrapper for KVM IOCTLs.
9+
810
use std::os::unix::io::AsRawFd;
911
use std::ptr::null_mut;
1012

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ extern crate vmm_sys_util;
210210
#[macro_use]
211211
mod kvm_ioctls;
212212
mod cap;
213-
mod ioctls;
213+
pub mod ioctls;
214214

215215
pub use cap::Cap;
216216
pub use ioctls::device::DeviceFd;

0 commit comments

Comments
 (0)