Skip to content

Commit 67a5436

Browse files
committed
[feat] expose invalid_ept api
1 parent d352772 commit 67a5436

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ cfg_if::cfg_if! {
2626
mod vmx;
2727
use vmx as vender;
2828
pub use vmx::{VmxExitInfo, VmxExitReason, VmxInterruptInfo, VmxIoExitInfo};
29+
pub use vmx::invalid_ept;
2930

3031
pub use vender::VmxArchVCpu;
3132
pub use vender::VmxArchPerCpuState;

src/vmx/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ pub use self::percpu::VmxPerCpuState as VmxArchPerCpuState;
1313
pub use self::vcpu::VmxVcpu as VmxArchVCpu;
1414
pub use self::vmcs::{VmxExitInfo, VmxInterruptInfo, VmxIoExitInfo};
1515

16+
pub use self::vcpu::invalid_ept;
17+
1618
/// Return if current platform support virtualization extension.
1719
pub fn has_hardware_support() -> bool {
1820
if let Some(feature) = raw_cpuid::CpuId::new().get_feature_info() {

0 commit comments

Comments
 (0)