Struct dbs_interrupt::LegacyNotifier
source · pub struct LegacyNotifier { /* private fields */ }
Expand description
Struct to inject legacy interrupt to guest.
Implementations§
source§impl LegacyNotifier
impl LegacyNotifier
sourcepub fn new(
intr_group: Arc<Box<dyn InterruptSourceGroup>>,
intr_status: Arc<InterruptStatusRegister32>,
status_bits: u32
) -> Self
pub fn new( intr_group: Arc<Box<dyn InterruptSourceGroup>>, intr_status: Arc<InterruptStatusRegister32>, status_bits: u32 ) -> Self
Create a legacy notifier.
Trait Implementations§
source§impl Clone for LegacyNotifier
impl Clone for LegacyNotifier
source§fn clone(&self) -> LegacyNotifier
fn clone(&self) -> LegacyNotifier
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl InterruptNotifier for LegacyNotifier
impl InterruptNotifier for LegacyNotifier
source§fn notifier(&self) -> Option<&EventFd>
fn notifier(&self) -> Option<&EventFd>
Get the optional
EventFd
object to inject interrupt to the virtual machine.source§fn clone_boxed(&self) -> Box<dyn InterruptNotifier>
fn clone_boxed(&self) -> Box<dyn InterruptNotifier>
Clone a boxed dyn trait object.