Skip to content

Commit 76fa02b

Browse files
committed
Some windows cleanup
Signed-off-by: Ludvig Liljenberg <[email protected]>
1 parent a9a1e5d commit 76fa02b

File tree

8 files changed

+53
-1006
lines changed

8 files changed

+53
-1006
lines changed

src/hyperlight_host/src/hypervisor/gdb/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
pub(crate) mod arch;
17+
mod arch;
1818
mod event_loop;
1919
mod x86_64_target;
2020

src/hyperlight_host/src/hypervisor/hyperlight_vm.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ use super::mshv::MshvVm;
3434
use super::regs::{
3535
CommonFpu, CommonRegisters, FP_CONTROL_WORD_DEFAULT, FP_TAG_WORD_DEFAULT, MXCSR_DEFAULT,
3636
};
37-
use super::vm::Vm;
37+
use super::vm::{HyperlightExit, Vm};
3838
use super::{
39-
HyperlightExit, HyperlightVm, CR0_AM, CR0_ET, CR0_MP, CR0_NE, CR0_PE, CR0_PG, CR0_WP,
40-
CR4_OSFXSR, CR4_OSXMMEXCPT, CR4_PAE, EFER_LMA, EFER_LME, EFER_NX, EFER_SCE,
39+
HyperlightVm, CR0_AM, CR0_ET, CR0_MP, CR0_NE, CR0_PE, CR0_PG, CR0_WP, CR4_OSFXSR,
40+
CR4_OSXMMEXCPT, CR4_PAE, EFER_LMA, EFER_LME, EFER_NX, EFER_SCE,
4141
};
4242
#[cfg(crashdump)]
4343
use crate::hypervisor::crashdump;
@@ -309,7 +309,6 @@ mod debug {
309309
}
310310
}
311311

312-
/// A Hypervisor driver for KVM on Linux
313312
#[derive(Debug)]
314313
pub(crate) struct HyperlightSandbox {
315314
vm: Box<dyn Vm>,

0 commit comments

Comments
 (0)