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