Struct panda_sys::X86CPU

source ·
#[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: c_int, pub hyperv_vendor_id: *mut c_char, 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: c_int§hyperv_vendor_id: *mut c_char§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: i32

Trait Implementations§

source§

impl Clone for X86CPU

source§

fn clone(&self) -> X86CPU

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Copy for X86CPU

Auto Trait Implementations§

§

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> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.