Skip to content

Commit

Permalink
ioctls: export submodule ioctls
Browse files Browse the repository at this point in the history
Export submodule ioctls as mshv_ioctls, which is needed by the
vfio-ioctls crate.

Signed-off-by: Liu Jiang <[email protected]>
  • Loading branch information
jiangliu committed Nov 23, 2021
1 parent 2127a9b commit e62e2e6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion coverage_config_x86_64.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"coverage_score": 87.7,
"coverage_score": 87.0,
"exclude_path": "",
"crate_features": ""
}
2 changes: 2 additions & 0 deletions src/ioctls/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the THIRD-PARTY file.

//! Safe wrapper for KVM IOCTLs.
use std::os::unix::io::AsRawFd;
use std::ptr::null_mut;

Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ extern crate vmm_sys_util;
#[macro_use]
mod kvm_ioctls;
mod cap;
mod ioctls;
pub mod ioctls;

pub use cap::Cap;
pub use ioctls::device::DeviceFd;
Expand Down

0 comments on commit e62e2e6

Please sign in to comment.