Trait guestmem::DoorbellRegistration

source ·
pub trait DoorbellRegistration: Send + Sync {
    // Required method
    fn register_doorbell(
        &self,
        guest_address: u64,
        value: Option<u64>,
        length: Option<u32>,
        event: &Event,
    ) -> Result<Box<dyn Send + Sync>>;
}
Expand description

Doorbell provides a mechanism to register for notifications on writes to specific addresses in guest memory.

Required Methods§

source

fn register_doorbell( &self, guest_address: u64, value: Option<u64>, length: Option<u32>, event: &Event, ) -> Result<Box<dyn Send + Sync>>

Register a doorbell event.

Implementors§