pub trait ChipsetDevice: 'static + Send {
// Provided methods
fn supports_pio(&mut self) -> Option<&mut dyn PortIoIntercept> { ... }
fn supports_mmio(&mut self) -> Option<&mut dyn MmioIntercept> { ... }
fn supports_pci(&mut self) -> Option<&mut dyn PciConfigSpace> { ... }
fn supports_poll_device(&mut self) -> Option<&mut dyn PollDevice> { ... }
fn supports_line_interrupt_target(
&mut self,
) -> Option<&mut dyn LineInterruptTarget> { ... }
fn supports_handle_eoi(&mut self) -> Option<&mut dyn HandleEoi> { ... }
fn supports_acknowledge_pic_interrupt(
&mut self,
) -> Option<&mut dyn AcknowledgePicInterrupt> { ... }
fn supports_tdisp_host(&mut self) -> Option<&mut dyn TdispHostDeviceTarget> { ... }
fn supports_tdisp_relay(
&mut self,
) -> Option<&mut dyn TdispRelayedDeviceTarget> { ... }
}Expand description
Implemented by any device that is considered part of the guest’s “chipset” (insofar as it exists on one or more system busses).
Provided Methods§
Sourcefn supports_pio(&mut self) -> Option<&mut dyn PortIoIntercept>
fn supports_pio(&mut self) -> Option<&mut dyn PortIoIntercept>
Optionally returns a trait object to send IO port intercepts to.
Sourcefn supports_mmio(&mut self) -> Option<&mut dyn MmioIntercept>
fn supports_mmio(&mut self) -> Option<&mut dyn MmioIntercept>
Optionally returns a trait object to send MMIO port intercepts to.
Sourcefn supports_pci(&mut self) -> Option<&mut dyn PciConfigSpace>
fn supports_pci(&mut self) -> Option<&mut dyn PciConfigSpace>
Optionally returns a trait object to send PCI config space accesses to.
Sourcefn supports_poll_device(&mut self) -> Option<&mut dyn PollDevice>
fn supports_poll_device(&mut self) -> Option<&mut dyn PollDevice>
Optionally returns a trait object to send poll requests to.
Sourcefn supports_line_interrupt_target(
&mut self,
) -> Option<&mut dyn LineInterruptTarget>
fn supports_line_interrupt_target( &mut self, ) -> Option<&mut dyn LineInterruptTarget>
Optionally returns a trait object to send interrupt line changes to.
Sourcefn supports_handle_eoi(&mut self) -> Option<&mut dyn HandleEoi>
fn supports_handle_eoi(&mut self) -> Option<&mut dyn HandleEoi>
Optionally returns a trait object to send EOI requests to.
Sourcefn supports_acknowledge_pic_interrupt(
&mut self,
) -> Option<&mut dyn AcknowledgePicInterrupt>
fn supports_acknowledge_pic_interrupt( &mut self, ) -> Option<&mut dyn AcknowledgePicInterrupt>
Optionally returns a trait object with which to acknowledge PIC interrupts.
Sourcefn supports_tdisp_host(&mut self) -> Option<&mut dyn TdispHostDeviceTarget>
fn supports_tdisp_host(&mut self) -> Option<&mut dyn TdispHostDeviceTarget>
Optionally returns a trait object which advertises that the ChipsetDevice can respond to tdisp requests as a physical device (not relayed) in the host (openvmm).
Sourcefn supports_tdisp_relay(&mut self) -> Option<&mut dyn TdispRelayedDeviceTarget>
fn supports_tdisp_relay(&mut self) -> Option<&mut dyn TdispRelayedDeviceTarget>
Optionally returns a trait object which advertises that the ChipsetDevice is paravirtualizing a device’s TDISP interface in the guest. This should only be implemented within a guest as part of a virtual bus (VPCI, EPCI).