diff --git a/arch/src/x86_64/interrupts.rs b/arch/src/x86_64/interrupts.rs index 73a00f3f5..44c2ccfc3 100644 --- a/arch/src/x86_64/interrupts.rs +++ b/arch/src/x86_64/interrupts.rs @@ -5,15 +5,13 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE-BSD-3-Clause file. +use byteorder::{LittleEndian, ReadBytesExt, WriteBytesExt}; +use hypervisor::x86_64::LapicState; use std::io::Cursor; use std::mem; use std::result; use std::sync::Arc; -use byteorder::{LittleEndian, ReadBytesExt, WriteBytesExt}; - -use hypervisor::x86_64::LapicState; - #[derive(Debug)] pub enum Error { GetLapic(anyhow::Error), @@ -82,7 +80,6 @@ pub fn set_lint(vcpu: &Arc) -> Result<()> { } #[cfg(test)] -#[cfg(feature = "kvm")] mod tests { use super::*;