mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-08 12:41:35 +00:00
virtio-devices: Reserve first 16 events for the EpollHelper
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
609f34fa43
commit
1dcf1b11e4
@ -29,7 +29,7 @@ pub enum EpollHelperError {
|
|||||||
|
|
||||||
pub const EPOLL_HELPER_EVENT_PAUSE: u16 = 0;
|
pub const EPOLL_HELPER_EVENT_PAUSE: u16 = 0;
|
||||||
pub const EPOLL_HELPER_EVENT_KILL: u16 = 1;
|
pub const EPOLL_HELPER_EVENT_KILL: u16 = 1;
|
||||||
pub const EPOLL_HELPER_EVENT_LAST: u16 = EPOLL_HELPER_EVENT_KILL;
|
pub const EPOLL_HELPER_EVENT_LAST: u16 = 15;
|
||||||
|
|
||||||
pub trait EpollHelperHandler {
|
pub trait EpollHelperHandler {
|
||||||
// Return true if execution of the loop should be stopped
|
// Return true if execution of the loop should be stopped
|
||||||
|
Loading…
x
Reference in New Issue
Block a user