Hv1

Trait Hv1 

Source
pub trait Hv1 {
    type Error: Error + Send + Sync + 'static;
    type Device: MapVpciInterrupt + SignalMsi;

    // Required methods
    fn reference_time_source(&self) -> Option<ReferenceTimeSource>;
    fn new_virtual_device(
        &self,
    ) -> Option<&dyn DeviceBuilder<Device = Self::Device, Error = Self::Error>>;
    fn synic(&self) -> Arc<dyn SynicPortAccess>;
}

Required Associated Types§

Source

type Error: Error + Send + Sync + 'static

Source

type Device: MapVpciInterrupt + SignalMsi

Required Methods§

Source

fn reference_time_source(&self) -> Option<ReferenceTimeSource>

Source

fn new_virtual_device( &self, ) -> Option<&dyn DeviceBuilder<Device = Self::Device, Error = Self::Error>>

Source

fn synic(&self) -> Arc<dyn SynicPortAccess>

Returns the partition’s synic port access implementation.

This is used by VMBus and other synic consumers to register message and event ports for communication with the guest.

Implementors§