pub struct VmCpuState {
pub possible: u32,
pub requested_online: u32,
pub actual_online: u32,
pub enforced: u32,
}Expand description
Point-in-time CPU sizing of a running VM as seen through VmControl.
actual is what the guest driver last reported; enforced is what the
VMM allows to execute regardless of guest cooperation.
Fields§
§possible: u32CPUs possible in this boot.
requested_online: u32Online count the host asked the guest to converge on.
actual_online: u32Online count the guest driver last reported.
enforced: u32Online count the VMM currently enforces.
Trait Implementations§
Source§impl Clone for VmCpuState
impl Clone for VmCpuState
Source§fn clone(&self) -> VmCpuState
fn clone(&self) -> VmCpuState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VmCpuState
Auto Trait Implementations§
impl Freeze for VmCpuState
impl RefUnwindSafe for VmCpuState
impl Send for VmCpuState
impl Sync for VmCpuState
impl Unpin for VmCpuState
impl UnsafeUnpin for VmCpuState
impl UnwindSafe for VmCpuState
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