diff --git a/hypervisor/src/arch/x86/emulator/mod.rs b/hypervisor/src/arch/x86/emulator/mod.rs index 3bbe965ec..7666504c7 100644 --- a/hypervisor/src/arch/x86/emulator/mod.rs +++ b/hypervisor/src/arch/x86/emulator/mod.rs @@ -6,9 +6,8 @@ use crate::arch::emulator::{EmulationError, EmulationResult, PlatformEmulator, PlatformError}; use crate::arch::x86::emulator::instructions::*; -use crate::arch::x86::regs::*; -use crate::arch::x86::*; -use crate::arch::x86::{Exception, SegmentRegisterOps}; +use crate::arch::x86::regs::{CR0_PE, EFER_LMA}; +use crate::arch::x86::{segment_type_expand_down, segment_type_ro, Exception, SegmentRegisterOps}; use crate::x86_64::{SegmentRegister, SpecialRegisters, StandardRegisters}; use anyhow::Context; use iced_x86::*;