From fc62c45dabfb72b5fd2e43831fd4caab40e61592 Mon Sep 17 00:00:00 2001 From: Zach Reizner Date: Wed, 4 Apr 2018 15:33:00 -0700 Subject: devices: use PollContext for all virtio deivces BUG=chromium:816692 TEST=run any VM Change-Id: I4219050fdb7947ca513f599f1ac57cde6052d397 Reviewed-on: https://chromium-review.googlesource.com/996917 Commit-Ready: Zach Reizner Tested-by: Zach Reizner Reviewed-by: Stephen Barber --- devices/src/virtio/vhost/mod.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'devices/src/virtio/vhost/mod.rs') diff --git a/devices/src/virtio/vhost/mod.rs b/devices/src/virtio/vhost/mod.rs index 0039a5a..0fe15df 100644 --- a/devices/src/virtio/vhost/mod.rs +++ b/devices/src/virtio/vhost/mod.rs @@ -21,6 +21,8 @@ pub use self::vsock::Vsock; pub enum Error { /// Creating kill eventfd failed. CreateKillEventFd(SysError), + /// Creating poll context failed. + CreatePollContext(SysError), /// Cloning kill eventfd failed. CloneKillEventFd(SysError), /// Error while polling for events. -- cgit 1.4.1