Struct panda_sys::X86CPUClass
source · #[repr(C)]pub struct X86CPUClass {
pub parent_class: CPUClass,
pub cpu_def: *mut X86CPUDefinition,
pub kvm_required: bool,
pub ordering: c_int,
pub migration_safe: bool,
pub static_model: bool,
pub model_description: *const c_char,
pub parent_realize: DeviceRealize,
pub parent_unrealize: DeviceUnrealize,
pub parent_reset: Option<unsafe extern "C" fn(cpu: *mut CPUState)>,
}
Expand description
X86CPUClass: @cpu_def: CPU model definition @kvm_required: Whether CPU model requires KVM to be enabled. @ordering: Ordering on the “-cpu help” CPU model list. @migration_safe: See CpuDefinitionInfo::migration_safe @static_model: See CpuDefinitionInfo::static @parent_realize: The parent class’ realize handler. @parent_reset: The parent class’ reset handler.
An x86 CPU model or family.
Fields§
§parent_class: CPUClass
§cpu_def: *mut X86CPUDefinition
§kvm_required: bool
§ordering: c_int
§migration_safe: bool
§static_model: bool
§model_description: *const c_char
§parent_realize: DeviceRealize
§parent_unrealize: DeviceUnrealize
§parent_reset: Option<unsafe extern "C" fn(cpu: *mut CPUState)>
Trait Implementations§
source§impl Clone for X86CPUClass
impl Clone for X86CPUClass
source§fn clone(&self) -> X86CPUClass
fn clone(&self) -> X86CPUClass
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for X86CPUClass
impl Debug for X86CPUClass
impl Copy for X86CPUClass
Auto Trait Implementations§
impl RefUnwindSafe for X86CPUClass
impl !Send for X86CPUClass
impl !Sync for X86CPUClass
impl Unpin for X86CPUClass
impl UnwindSafe for X86CPUClass
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