#[repr(C, align(16))]pub struct X86CPU {Show 41 fields
pub parent_obj: CPUState,
pub __bindgen_padding_0: u64,
pub env: CPUX86State,
pub hyperv_vapic: bool,
pub hyperv_relaxed_timing: bool,
pub hyperv_spinlock_attempts: i32,
pub hyperv_vendor_id: *mut i8,
pub hyperv_time: bool,
pub hyperv_crash: bool,
pub hyperv_reset: bool,
pub hyperv_vpindex: bool,
pub hyperv_runtime: bool,
pub hyperv_synic: bool,
pub hyperv_stimer: bool,
pub check_cpuid: bool,
pub enforce_cpuid: bool,
pub expose_kvm: bool,
pub migratable: bool,
pub max_features: bool,
pub apic_id: u32,
pub vmware_cpuid_freq: bool,
pub cache_info_passthrough: bool,
pub filtered_features: [u32; 18],
pub enable_pmu: bool,
pub enable_lmce: bool,
pub enable_l3_cache: bool,
pub enable_cpuid_0xb: bool,
pub full_cpuid_auto_level: bool,
pub fill_mtrr_mask: bool,
pub host_phys_bits: bool,
pub kvm_no_smi_migration: bool,
pub phys_bits: u32,
pub apic_state: *mut DeviceState,
pub cpu_as_root: *mut MemoryRegion,
pub cpu_as_mem: *mut MemoryRegion,
pub smram: *mut MemoryRegion,
pub machine_done: Notifier,
pub kvm_msr_buf: *mut kvm_msrs,
pub socket_id: i32,
pub core_id: i32,
pub thread_id: i32,
}Expand description
X86CPU: @env: #CPUX86State @migratable: If set, only migratable flags will be accepted when “enforce” mode is used, and only migratable flags will be included in the “host” CPU model.
An x86 CPU.
Fields§
§parent_obj: CPUState§__bindgen_padding_0: u64§env: CPUX86State§hyperv_vapic: bool§hyperv_relaxed_timing: bool§hyperv_spinlock_attempts: i32§hyperv_vendor_id: *mut i8§hyperv_time: bool§hyperv_crash: bool§hyperv_reset: bool§hyperv_vpindex: bool§hyperv_runtime: bool§hyperv_synic: bool§hyperv_stimer: bool§check_cpuid: bool§enforce_cpuid: bool§expose_kvm: bool§migratable: bool§max_features: bool§apic_id: u32§vmware_cpuid_freq: bool§cache_info_passthrough: bool§filtered_features: [u32; 18]§enable_pmu: bool§enable_lmce: bool§enable_l3_cache: bool§enable_cpuid_0xb: bool§full_cpuid_auto_level: bool§fill_mtrr_mask: bool§host_phys_bits: bool§kvm_no_smi_migration: bool§phys_bits: u32§apic_state: *mut DeviceState§cpu_as_root: *mut MemoryRegion§cpu_as_mem: *mut MemoryRegion§smram: *mut MemoryRegion§machine_done: Notifier§kvm_msr_buf: *mut kvm_msrs§socket_id: i32§core_id: i32§thread_id: i32Trait Implementations§
Auto Trait Implementations§
impl Freeze for X86CPU
impl RefUnwindSafe for X86CPU
impl !Send for X86CPU
impl !Sync for X86CPU
impl Unpin for X86CPU
impl UnwindSafe for X86CPU
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