pub struct System {
pub max_vcpus: i64,
pub smp_vcpus: i64,
}
Expand description
Information about the system, present if the emulator is running in full system emulation mode
Fields§
§max_vcpus: i64
The maximum number of virtual CPUs supported by the system
smp_vcpus: i64
The number of virtual CPUs currently configured
Trait Implementations§
Source§impl From<&qemu_info_t__bindgen_ty_2__bindgen_ty_1> for System
impl From<&qemu_info_t__bindgen_ty_2__bindgen_ty_1> for System
Source§fn from(value: &qemu_info_t__bindgen_ty_2__bindgen_ty_1) -> Self
fn from(value: &qemu_info_t__bindgen_ty_2__bindgen_ty_1) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for System
impl RefUnwindSafe for System
impl Send for System
impl Sync for System
impl Unpin for System
impl UnwindSafe for System
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