pub struct ProcessorTopology {
pub vp_count: u32,
pub enable_smt: Option<bool>,
pub vps_per_socket: Option<u32>,
pub apic_mode: Option<ApicMode>,
}Expand description
Common processor topology information for the VM.
Fields§
§vp_count: u32The number of virtual processors.
enable_smt: Option<bool>Whether SMT (hyperthreading) is enabled.
vps_per_socket: Option<u32>The number of virtual processors per socket.
apic_mode: Option<ApicMode>The APIC configuration (x86-64 only).
Trait Implementations§
Source§impl Debug for ProcessorTopology
impl Debug for ProcessorTopology
Auto Trait Implementations§
impl Freeze for ProcessorTopology
impl RefUnwindSafe for ProcessorTopology
impl Send for ProcessorTopology
impl Sync for ProcessorTopology
impl Unpin for ProcessorTopology
impl UnwindSafe for ProcessorTopology
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