pub struct LegacyPciChipsetDeviceHandle {
pub name: String,
pub resource: Resource<ChipsetDeviceHandleKind>,
pub pci_bus_name: String,
pub bdf: (u8, u8, u8),
}Expand description
A handle to instantiate a legacy PCI chipset device with explicit placement.
§Legacy Chipset Only
This handle type is exclusively for legacy Gen1 PCI chipset devices that require historically-fixed PCI bus/device/function placement. Examples include ISA bridge, PIIX4 IDE, USB UHCI, and similar integrated chipset functions.
New devices must not use this type. Externally-facing devices (e.g. passthrough,
Gen2 emulated devices) should use ChipsetDeviceHandle and implement dynamic PCI
enumeration or appropriate driver recognition patterns.
This type exists to preserve the explicit wiring of legacy Gen1 chipset components into fixed PCI locations, which guests expect and depend upon for compatibility.
Fields§
§name: StringThe name of the device.
resource: Resource<ChipsetDeviceHandleKind>The device resource handle.
pci_bus_name: StringThe PCI bus name to attach the device to. Must be specified explicitly; derived from chipset architecture, not device discovery.
bdf: (u8, u8, u8)The explicit static PCI bus/device/function tuple. This is part of the legacy chipset’s fixed contract; do not make this negotiable.
Trait Implementations§
Source§impl Debug for LegacyPciChipsetDeviceHandle
impl Debug for LegacyPciChipsetDeviceHandle
Source§impl DefaultEncoding for LegacyPciChipsetDeviceHandle
impl DefaultEncoding for LegacyPciChipsetDeviceHandle
Source§impl<'encoding> StructDecodeMetadata<'encoding, Resource> for LegacyPciChipsetDeviceHandle
impl<'encoding> StructDecodeMetadata<'encoding, Resource> for LegacyPciChipsetDeviceHandle
Source§impl StructEncodeMetadata<Resource> for LegacyPciChipsetDeviceHandle
impl StructEncodeMetadata<Resource> for LegacyPciChipsetDeviceHandle
Auto Trait Implementations§
impl Freeze for LegacyPciChipsetDeviceHandle
impl !RefUnwindSafe for LegacyPciChipsetDeviceHandle
impl Send for LegacyPciChipsetDeviceHandle
impl !Sync for LegacyPciChipsetDeviceHandle
impl Unpin for LegacyPciChipsetDeviceHandle
impl UnsafeUnpin for LegacyPciChipsetDeviceHandle
impl !UnwindSafe for LegacyPciChipsetDeviceHandle
Blanket Implementations§
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> MeshField for T
impl<T> MeshField for T
§impl<T> MeshPayload for T
impl<T> MeshPayload for T
§impl<T> SerializeMessage for Twhere
T: 'static + MeshPayload + Send,
impl<T> SerializeMessage for Twhere
T: 'static + MeshPayload + Send,
§fn compute_message_size(&mut self, sizer: MessageSizer<'_>)
fn compute_message_size(&mut self, sizer: MessageSizer<'_>)
MessageEncode::compute_message_size].§fn write_message(self, writer: MessageWriter<'_, '_, Resource>)
fn write_message(self, writer: MessageWriter<'_, '_, Resource>)
MessageEncode::write_message].