mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-05 18:20:34 +00:00
devices: vfio: Reorder use
statements
BUG=none TEST=build Change-Id: I8ce2d48cce787fe6352d784fe0b583657d51ad39 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3245354 Auto-Submit: Keiichi Watanabe <keiichiw@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
This commit is contained in:
parent
0c2f9c749f
commit
d73e41276e
1 changed files with 4 additions and 5 deletions
|
@ -2,8 +2,6 @@
|
|||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
use data_model::vec_with_array_field;
|
||||
use once_cell::sync::OnceCell;
|
||||
use std::cell::RefCell;
|
||||
use std::collections::HashMap;
|
||||
use std::ffi::CString;
|
||||
|
@ -14,18 +12,19 @@ use std::os::unix::prelude::FileExt;
|
|||
use std::path::{Path, PathBuf};
|
||||
use std::sync::Arc;
|
||||
use std::u32;
|
||||
use sync::Mutex;
|
||||
|
||||
use base::{
|
||||
ioctl, ioctl_with_mut_ref, ioctl_with_ptr, ioctl_with_ref, ioctl_with_val, warn,
|
||||
AsRawDescriptor, Error, Event, FromRawDescriptor, RawDescriptor, SafeDescriptor,
|
||||
};
|
||||
use data_model::vec_with_array_field;
|
||||
use hypervisor::{DeviceKind, Vm};
|
||||
use once_cell::sync::OnceCell;
|
||||
use remain::sorted;
|
||||
use sync::Mutex;
|
||||
use thiserror::Error;
|
||||
use vm_memory::GuestMemory;
|
||||
|
||||
use vfio_sys::*;
|
||||
use vm_memory::GuestMemory;
|
||||
|
||||
#[sorted]
|
||||
#[derive(Error, Debug)]
|
||||
|
|
Loading…
Reference in a new issue