pub struct Config {Show 31 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 vpci_devices: Vec<VpciDeviceConfig>,
pub memory: MemoryConfig,
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_console_pci: bool,
pub virtio_serial: Option<SerialPipes>,
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 generation_id_recv: Option<Receiver<[u8; 16]>>,
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>§vpci_devices: Vec<VpciDeviceConfig>§memory: MemoryConfig§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_console_pci: bool§virtio_serial: Option<SerialPipes>§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>§generation_id_recv: Option<Receiver<[u8; 16]>>§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 !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].