pub struct PcatBiosConfig {
pub processor_topology: ProcessorTopology<X86Topology>,
pub mem_layout: MemoryLayout,
pub srat: Vec<u8>,
pub initial_generation_id: [u8; 16],
pub hibernation_enabled: bool,
pub boot_order: [BootDeviceStatus; 4],
pub num_lock_enabled: bool,
pub smbios: SmbiosConstants,
}
Expand description
PCAT device static configuration data.
Fields§
§processor_topology: ProcessorTopology<X86Topology>
Number of VCPUs
mem_layout: MemoryLayout
The VM’s memory layout
srat: Vec<u8>
The SRAT ACPI table reflected into the guest
initial_generation_id: [u8; 16]
Initial Generation Id value
hibernation_enabled: bool
Hibernation support
boot_order: [BootDeviceStatus; 4]
Boot device order
num_lock_enabled: bool
If num-lock is enabled at boot
smbios: SmbiosConstants
Bundle of SMBIOS constants
Trait Implementations§
Source§impl Debug for PcatBiosConfig
impl Debug for PcatBiosConfig
Auto Trait Implementations§
impl Freeze for PcatBiosConfig
impl RefUnwindSafe for PcatBiosConfig
impl Send for PcatBiosConfig
impl Sync for PcatBiosConfig
impl Unpin for PcatBiosConfig
impl UnwindSafe for PcatBiosConfig
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