diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/linux.rs | 2 | ||||
-rw-r--r-- | src/plugin/process.rs | 2 | ||||
-rw-r--r-- | src/plugin/vcpu.rs | 1 |
3 files changed, 0 insertions, 5 deletions
diff --git a/src/linux.rs b/src/linux.rs index 6a50449..cebfa77 100644 --- a/src/linux.rs +++ b/src/linux.rs @@ -2,7 +2,6 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -use std; use std::cmp::max; use std::convert::TryFrom; use std::error::Error as StdError; @@ -50,7 +49,6 @@ use sys_util::{ Killable, MemoryMappingArena, PollContext, PollToken, Protection, ScopedEvent, SignalFd, Terminal, TimerFd, WatchingEvents, SIGRTMIN, }; -use vhost; use vm_control::{ BalloonControlCommand, BalloonControlRequestSocket, BalloonControlResponseSocket, BalloonControlResult, DiskControlCommand, DiskControlRequestSocket, DiskControlResponseSocket, diff --git a/src/plugin/process.rs b/src/plugin/process.rs index 51fc892..6f65f1d 100644 --- a/src/plugin/process.rs +++ b/src/plugin/process.rs @@ -14,12 +14,10 @@ use std::process::Command; use std::sync::{Arc, RwLock}; use std::thread::JoinHandle; -use net_util; use net_util::Error as NetError; use libc::{pid_t, waitpid, EINVAL, ENODATA, ENOTTY, WEXITSTATUS, WIFEXITED, WNOHANG, WTERMSIG}; -use protobuf; use protobuf::Message; use io_jail::Minijail; diff --git a/src/plugin/vcpu.rs b/src/plugin/vcpu.rs index 3bb6bed..06e1861 100644 --- a/src/plugin/vcpu.rs +++ b/src/plugin/vcpu.rs @@ -13,7 +13,6 @@ use std::sync::{Arc, RwLock}; use libc::{EINVAL, ENOENT, ENOTTY, EPERM, EPIPE, EPROTO}; -use protobuf; use protobuf::Message; use assertions::const_assert; |