virt_mshv_vtl

Trait TlbFlushLockAccess

Source
pub trait TlbFlushLockAccess {
    // Required methods
    fn flush(&mut self, vtl: GuestVtl);
    fn flush_entire(&mut self);
    fn set_wait_for_tlb_locks(&mut self, vtl: GuestVtl);
}
Expand description

Trait for access to TLB flush and lock machinery.

Required Methods§

Source

fn flush(&mut self, vtl: GuestVtl)

Flush the entire TLB for all VPs for the given VTL.

Source

fn flush_entire(&mut self)

Flush the entire TLB for all VPs for all VTLs.

Source

fn set_wait_for_tlb_locks(&mut self, vtl: GuestVtl)

Causes the specified VTL on the current VP to wait on all TLB locks.

Implementors§