pub struct Config {Show 33 fields
pub load_mode: LoadMode,
pub floppy_disks: Vec<FloppyDiskConfig>,
pub ide_disks: Vec<IdeDeviceConfig>,
pub pcie_root_complexes: Vec<PcieRootComplexConfig>,
pub pcie_devices: Vec<PcieDeviceConfig>,
pub pcie_switches: Vec<PcieSwitchConfig>,
pub pcie_generic_initiators: Vec<PcieGenericInitiatorConfig>,
pub vpci_devices: Vec<VpciDeviceConfig>,
pub numa: NumaTopology,
pub processor_topology: ProcessorTopologyConfig,
pub hypervisor: HypervisorConfig,
pub chipset: BaseChipsetManifest,
pub vmbus: Option<VmbusConfig>,
pub vtl2_vmbus: Option<VmbusConfig>,
pub input: Receiver<InputData>,
pub framebuffer: Option<Framebuffer>,
pub vga_firmware: Option<RomFileLocation>,
pub vtl2_gfx: bool,
pub virtio_devices: Vec<(VirtioBus, Resource<VirtioDeviceHandle>)>,
pub vmgs: Option<VmgsResource>,
pub secure_boot_enabled: bool,
pub custom_uefi_vars: CustomVars,
pub firmware_event_send: Option<Sender<FirmwareEvent>>,
pub debugger_rpc: Option<Receiver<DebugRequest>>,
pub vmbus_devices: Vec<(DeviceVtl, Resource<VmbusDeviceHandleKind>)>,
pub chipset_devices: Vec<ChipsetDeviceHandle>,
pub pci_chipset_devices: Vec<LegacyPciChipsetDeviceHandle>,
pub isa_dma_controller: Option<Resource<IsaDmaControllerHandleKind>>,
pub chipset_capabilities: VmChipsetCapabilities,
pub layout: LayoutConfig,
pub rtc_delta_milliseconds: i64,
pub automatic_guest_reset: bool,
pub efi_diagnostics_log_level: EfiDiagnosticsLogLevelType,
}Fields§
§load_mode: LoadMode§floppy_disks: Vec<FloppyDiskConfig>§ide_disks: Vec<IdeDeviceConfig>§pcie_root_complexes: Vec<PcieRootComplexConfig>§pcie_devices: Vec<PcieDeviceConfig>§pcie_switches: Vec<PcieSwitchConfig>§pcie_generic_initiators: Vec<PcieGenericInitiatorConfig>§vpci_devices: Vec<VpciDeviceConfig>§numa: NumaTopology§processor_topology: ProcessorTopologyConfig§hypervisor: HypervisorConfig§chipset: BaseChipsetManifest§vmbus: Option<VmbusConfig>§vtl2_vmbus: Option<VmbusConfig>§input: Receiver<InputData>§framebuffer: Option<Framebuffer>§vga_firmware: Option<RomFileLocation>§vtl2_gfx: bool§virtio_devices: Vec<(VirtioBus, Resource<VirtioDeviceHandle>)>§vmgs: Option<VmgsResource>§secure_boot_enabled: bool§custom_uefi_vars: CustomVars§firmware_event_send: Option<Sender<FirmwareEvent>>§debugger_rpc: Option<Receiver<DebugRequest>>§vmbus_devices: Vec<(DeviceVtl, Resource<VmbusDeviceHandleKind>)>§chipset_devices: Vec<ChipsetDeviceHandle>§pci_chipset_devices: Vec<LegacyPciChipsetDeviceHandle>§isa_dma_controller: Option<Resource<IsaDmaControllerHandleKind>>§chipset_capabilities: VmChipsetCapabilities§layout: LayoutConfigMemory layout sizing for the layout engine. Determines chipset MMIO range sizes; addresses are allocated dynamically by the resolver.
rtc_delta_milliseconds: i64§automatic_guest_reset: boolallow the guest to reset without notifying the client
efi_diagnostics_log_level: EfiDiagnosticsLogLevelTypeTrait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl !RefUnwindSafe for Config
impl Send for Config
impl !Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl !UnwindSafe for Config
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
Mutably borrows from an owned value. Read more
§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<'_>)
Computes the message size, as in [
MessageEncode::compute_message_size].§fn write_message(self, writer: MessageWriter<'_, '_, Resource>)
fn write_message(self, writer: MessageWriter<'_, '_, Resource>)
Writes the message, as in [
MessageEncode::write_message].