pub struct XenDomain<Arch>where
Arch: Architecture,{ /* private fields */ }
Implementations§
Source§impl XenDomain<Amd64>
impl XenDomain<Amd64>
pub fn get_context_cpu(&self, vcpu: VcpuId) -> Result<Registers, XenError>
pub fn get_context_lapic(&self, vcpu: VcpuId) -> Result<LocalApic, XenError>
pub fn get_context_lapic_regs( &self, vcpu: VcpuId, ) -> Result<LocalApicRegisters, XenError>
pub fn set_context_cpu( &self, vcpu: VcpuId, registers: Registers, ) -> Result<(), XenError>
Source§impl<Arch> XenDomain<Arch>where
Arch: Architecture,
impl<Arch> XenDomain<Arch>where
Arch: Architecture,
pub fn id(&self) -> XenDomainId
pub fn info(&self) -> Result<XenDomainInfo, XenError>
pub fn maximum_gpfn(&self) -> Result<u64, XenError>
pub fn pause(&self) -> Result<(), XenError>
pub fn unpause(&self) -> Result<(), XenError>
pub fn get_mem_access(&self, gfn: u64) -> Result<MemoryAccess, XenError>
pub fn set_mem_access( &self, gfn: u64, access: MemoryAccess, ) -> Result<(), XenError>
pub fn set_access_required(&self, required: bool) -> Result<(), XenError>
pub fn debug_control( &self, vcpu: VcpuId, operation: u32, ) -> Result<(), XenError>
pub fn set_max_mem(&self, max_memkb: u64) -> Result<(), XenError>
pub fn increase_reservation( &self, extent_order: u32, mem_flags: u32, extents: &[u64], ) -> Result<(), XenError>
pub fn increase_reservation_exact( &self, extent_order: u32, mem_flags: u32, extents: &[u64], ) -> Result<(), XenError>
pub fn decrease_reservation( &self, extent_order: u32, extents: &[u64], ) -> Result<(), XenError>
pub fn decrease_reservation_exact( &self, extent_order: u32, extents: &[u64], ) -> Result<(), XenError>
pub fn populate_physmap( &self, extent_order: u32, mem_flags: u32, extents: &[u64], ) -> Result<(), XenError>
pub fn populate_physmap_exact( &self, extent_order: u32, mem_flags: u32, extents: &[u64], ) -> Result<(), XenError>
pub fn altp2m(&self) -> Result<XenAltP2M, XenError>
pub fn monitor(&self) -> Result<(XenMonitor, VmEventRing), XenError>
pub fn device_model(&self) -> Result<XenDeviceModel, XenError>
Auto Trait Implementations§
impl<Arch> Freeze for XenDomain<Arch>
impl<Arch> RefUnwindSafe for XenDomain<Arch>where
Arch: RefUnwindSafe,
impl<Arch> !Send for XenDomain<Arch>
impl<Arch> !Sync for XenDomain<Arch>
impl<Arch> Unpin for XenDomain<Arch>where
Arch: Unpin,
impl<Arch> UnwindSafe for XenDomain<Arch>where
Arch: UnwindSafe,
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