pub trait TranslateGvaSupport {
type Error;
// Required methods
fn guest_memory(&self) -> &GuestMemory;
fn acquire_tlb_lock(&mut self);
fn registers(&mut self) -> Result<TranslationRegisters, Self::Error>;
}
Required Associated Types§
Required Methods§
Sourcefn guest_memory(&self) -> &GuestMemory
fn guest_memory(&self) -> &GuestMemory
Gets the object used to access the guest memory.
Sourcefn acquire_tlb_lock(&mut self)
fn acquire_tlb_lock(&mut self)
Acquires the TLB lock for this processor.
Sourcefn registers(&mut self) -> Result<TranslationRegisters, Self::Error>
fn registers(&mut self) -> Result<TranslationRegisters, Self::Error>
Returns the registers used to walk the page table.