From b89657ea22d1d85c5314d785a2b93426014f1b31 Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Thu, 25 Apr 2024 17:55:09 +0100 Subject: [PATCH] hypervisor, vmm: Don't re-export the contents of mshv_bindings::* The contents of this crate may change and cause conflicts - re-exporting the contents is unnecessary. Signed-off-by: Rob Bradford --- hypervisor/src/mshv/mod.rs | 2 +- vmm/src/igvm/igvm_loader.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hypervisor/src/mshv/mod.rs b/hypervisor/src/mshv/mod.rs index 978078657..d8628ebcb 100644 --- a/hypervisor/src/mshv/mod.rs +++ b/hypervisor/src/mshv/mod.rs @@ -13,7 +13,7 @@ use crate::hypervisor; use crate::vec_with_array_field; use crate::vm::{self, InterruptSourceConfig, VmOps}; use crate::HypervisorType; -pub use mshv_bindings::*; +use mshv_bindings::*; use mshv_ioctls::{set_registers_64, InterruptRequest, Mshv, NoDatamatch, VcpuFd, VmFd, VmType}; use std::any::Any; use std::collections::HashMap; diff --git a/vmm/src/igvm/igvm_loader.rs b/vmm/src/igvm/igvm_loader.rs index 8d6b9adb7..a83126b38 100644 --- a/vmm/src/igvm/igvm_loader.rs +++ b/vmm/src/igvm/igvm_loader.rs @@ -20,7 +20,7 @@ use igvm_defs::IGVM_VHS_PARAMETER; use igvm_defs::IGVM_VHS_PARAMETER_INSERT; use igvm_parser::snp_defs::SevVmsa; -pub use mshv_bindings::*; +use mshv_bindings::*; use std::collections::HashMap; use std::ffi::CString; use std::io::Read;