pub struct TdgVpInfo {
pub gpaw: Gpaw,
pub attributes: GuestTdAttributes,
pub num_vcpus: u32,
pub max_vcpus: u32,
pub vcpu_index: u32,
pub sys_rd: u32,
}
Fields§
§gpaw: Gpaw
The effective GPA width (in bits) for this TD (do not confuse with MAXPA). SHARED bit is at GPA bit GPAW-1.
Only GPAW values 48 and 52 are possible.
attributes: GuestTdAttributes
The TD’s ATTRIBUTES (provided as input to TDH.MNG.INIT)
num_vcpus: u32
§max_vcpus: u32
§vcpu_index: u32
§sys_rd: u32
Indicates that the TDG.SYS.RD/RDM/RDCALL function are avaliable.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TdgVpInfo
impl RefUnwindSafe for TdgVpInfo
impl Send for TdgVpInfo
impl Sync for TdgVpInfo
impl Unpin for TdgVpInfo
impl UnwindSafe for TdgVpInfo
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