pub struct IoApicDevice { /* private fields */ }Implementations§
Trait Implementations§
Source§impl ChangeDeviceState for IoApicDevice
impl ChangeDeviceState for IoApicDevice
Source§fn start(&mut self)
fn start(&mut self)
Starts a device, allowing it to interact with the guest asynchronously. Read more
Source§async fn stop(&mut self)
async fn stop(&mut self)
Pauses guest-request processing in a save-consistent state. Read more
Source§impl ChipsetDevice for IoApicDevice
impl ChipsetDevice for IoApicDevice
Source§fn 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.
Source§fn 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.
Source§fn 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.
§fn supports_pio(&mut self) -> Option<&mut (dyn PortIoIntercept + 'static)>
fn supports_pio(&mut self) -> Option<&mut (dyn PortIoIntercept + 'static)>
Optionally returns a trait object to send IO port intercepts to.
§fn supports_pci(&mut self) -> Option<&mut (dyn PciConfigSpace + 'static)>
fn supports_pci(&mut self) -> Option<&mut (dyn PciConfigSpace + 'static)>
Optionally returns a trait object to send PCI config space accesses to.
§fn 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.
§fn 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.
§fn 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).
§fn 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).
Source§impl Debug for IoApicDevice
impl Debug for IoApicDevice
Source§impl HandleEoi for IoApicDevice
impl HandleEoi for IoApicDevice
Source§fn handle_eoi(&mut self, irq_to_end: u32)
fn handle_eoi(&mut self, irq_to_end: u32)
reSearch query: IoApicEmulator::NotifyEoi
Source§impl InspectMut for IoApicDevice
impl InspectMut for IoApicDevice
Source§fn inspect_mut(&mut self, req: Request<'_>)
fn inspect_mut(&mut self, req: Request<'_>)
Inspects the object.
Source§impl LineInterruptTarget for IoApicDevice
impl LineInterruptTarget for IoApicDevice
Source§fn valid_lines(&self) -> &[RangeInclusive<u32>]
fn valid_lines(&self) -> &[RangeInclusive<u32>]
Returns the valid vector ranges for this target.
Source§impl MmioIntercept for IoApicDevice
impl MmioIntercept for IoApicDevice
Source§fn mmio_read(&mut self, address: u64, data: &mut [u8]) -> IoResult
fn mmio_read(&mut self, address: u64, data: &mut [u8]) -> IoResult
Dispatch an MMIO read to the device with the given address.
Source§fn mmio_write(&mut self, address: u64, data: &[u8]) -> IoResult
fn mmio_write(&mut self, address: u64, data: &[u8]) -> IoResult
Dispatch an MMIO write to the device with the given address.
Source§fn get_static_regions(&mut self) -> &[(&str, RangeInclusive<u64>)]
fn get_static_regions(&mut self) -> &[(&str, RangeInclusive<u64>)]
Report a set of static static mmio regions (region_name, gpa_range) that
cannot be remapped at runtime and are always registered. Read more
Source§impl SaveRestore for IoApicDevice
impl SaveRestore for IoApicDevice
Auto Trait Implementations§
impl Freeze for IoApicDevice
impl !RefUnwindSafe for IoApicDevice
impl Send for IoApicDevice
impl Sync for IoApicDevice
impl Unpin for IoApicDevice
impl UnsafeUnpin for IoApicDevice
impl !UnwindSafe for IoApicDevice
Blanket Implementations§
§impl<T> AsyncProtobufSaveRestore for Twhere
T: AsyncSaveRestore + Send,
<T as AsyncSaveRestore>::SavedState: 'static + SavedStateRoot,
impl<T> AsyncProtobufSaveRestore for Twhere
T: AsyncSaveRestore + Send,
<T as AsyncSaveRestore>::SavedState: 'static + SavedStateRoot,
§impl<T> AsyncSaveRestore for T
impl<T> AsyncSaveRestore for T
§type SavedState = <T as SaveRestore>::SavedState
type SavedState = <T as SaveRestore>::SavedState
The concrete saved state type.
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more