From 8ab3aaee6aa03c5ab126ef125911037c3ec3ded8 Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Tue, 10 May 2022 14:00:11 +0100 Subject: [PATCH] hypervisor: emulator: Remove some glob use imports Signed-off-by: Rob Bradford --- hypervisor/src/arch/x86/emulator/mod.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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::*;