pub struct MemoryEncryptionInfo { /* private fields */ }
Expand description
Implementations§
source§impl MemoryEncryptionInfo
impl MemoryEncryptionInfo
sourcepub fn has_page_flush_msr(&self) -> bool
pub fn has_page_flush_msr(&self) -> bool
The Page Flush MSR is available if set.
sourcepub fn has_sev_es(&self) -> bool
pub fn has_sev_es(&self) -> bool
SEV Encrypted State is supported if set.
sourcepub fn has_sev_snp(&self) -> bool
pub fn has_sev_snp(&self) -> bool
SEV Secure Nested Paging supported if set.
sourcepub fn has_hw_enforced_cache_coh(&self) -> bool
pub fn has_hw_enforced_cache_coh(&self) -> bool
Hardware cache coherency across encryption domains enforced if set.
sourcepub fn has_64bit_mode(&self) -> bool
pub fn has_64bit_mode(&self) -> bool
SEV guest execution only allowed from a 64-bit host if set.
sourcepub fn has_restricted_injection(&self) -> bool
pub fn has_restricted_injection(&self) -> bool
Restricted Injection supported if set.
sourcepub fn has_alternate_injection(&self) -> bool
pub fn has_alternate_injection(&self) -> bool
Alternate Injection supported if set.
sourcepub fn has_debug_swap(&self) -> bool
pub fn has_debug_swap(&self) -> bool
Full debug state swap supported for SEV-ES guests.
sourcepub fn has_prevent_host_ibs(&self) -> bool
pub fn has_prevent_host_ibs(&self) -> bool
Disallowing IBS use by the host supported if set.
sourcepub fn c_bit_position(&self) -> u8
pub fn c_bit_position(&self) -> u8
C-bit location in page table entry
sourcepub fn physical_address_reduction(&self) -> u8
pub fn physical_address_reduction(&self) -> u8
Physical Address bit reduction
sourcepub fn max_encrypted_guests(&self) -> u32
pub fn max_encrypted_guests(&self) -> u32
Number of encrypted guests supported simultaneouslys
sourcepub fn min_sev_no_es_asid(&self) -> u32
pub fn min_sev_no_es_asid(&self) -> u32
Minimum ASID value for an SEV enabled, SEV-ES disabled guest
Trait Implementations§
source§impl Debug for MemoryEncryptionInfo
impl Debug for MemoryEncryptionInfo
source§impl PartialEq for MemoryEncryptionInfo
impl PartialEq for MemoryEncryptionInfo
impl Eq for MemoryEncryptionInfo
impl StructuralPartialEq for MemoryEncryptionInfo
Auto Trait Implementations§
impl Freeze for MemoryEncryptionInfo
impl RefUnwindSafe for MemoryEncryptionInfo
impl Send for MemoryEncryptionInfo
impl Sync for MemoryEncryptionInfo
impl Unpin for MemoryEncryptionInfo
impl UnwindSafe for MemoryEncryptionInfo
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