build, misc: Bump vmm-sys-util dependency

The structure of the vmm-sys-util crate has changed with lots of code
moving to submodules.

This change adjusts the use of the imported structs to reference the
submodules.

Fixes: #145

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford
2019-08-02 15:23:52 +01:00
committed by Sebastien Boeuf
parent ac950d9a97
commit 9caad7394d
23 changed files with 35 additions and 32 deletions

View File

@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE-BSD-3-Clause file.
use vmm_sys_util::EventFd;
use vmm_sys_util::eventfd::EventFd;
use BusDevice;

View File

@@ -8,7 +8,7 @@
use crate::{BusDevice, Interrupt};
use std::collections::VecDeque;
use std::{io, result};
use vmm_sys_util::Result;
use vmm_sys_util::errno::Result;
const LOOP_SIZE: usize = 0x40;
@@ -233,7 +233,7 @@ mod tests {
use super::*;
use std::io;
use std::sync::{Arc, Mutex};
use vmm_sys_util::EventFd;
use vmm_sys_util::eventfd::EventFd;
struct TestInterrupt {
event_fd: EventFd,