pub struct NestedPagingConfig {
pub root_paddr: HostPhysAddr,
pub levels: usize,
pub gpa_bits: usize,
pub mode: usize,
}Expand description
Architecture-specific nested paging configuration selected by AxVM.
Fields§
§root_paddr: HostPhysAddrRoot physical address of the nested page table.
levels: usizeNumber of page-table levels.
gpa_bits: usizeGuest physical address width in bits.
mode: usizeArchitecture-specific hardware mode encoding.
Implementations§
Trait Implementations§
Source§impl Clone for NestedPagingConfig
impl Clone for NestedPagingConfig
Source§fn clone(&self) -> NestedPagingConfig
fn clone(&self) -> NestedPagingConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NestedPagingConfig
Source§impl Debug for NestedPagingConfig
impl Debug for NestedPagingConfig
impl Eq for NestedPagingConfig
Source§impl PartialEq for NestedPagingConfig
impl PartialEq for NestedPagingConfig
Source§fn eq(&self, other: &NestedPagingConfig) -> bool
fn eq(&self, other: &NestedPagingConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NestedPagingConfig
Auto Trait Implementations§
impl Freeze for NestedPagingConfig
impl RefUnwindSafe for NestedPagingConfig
impl Send for NestedPagingConfig
impl Sync for NestedPagingConfig
impl Unpin for NestedPagingConfig
impl UnsafeUnpin for NestedPagingConfig
impl UnwindSafe for NestedPagingConfig
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