[][src]Enum kvm_ioctls::Cap

#[repr(u32)]
pub enum Cap { Irqchip, Hlt, MmuShadowCacheControl, UserMemory, SetTssAddr, Vapic, ExtCpuid, Clocksource, NrVcpus, NrMemslots, Pit, NopIoDelay, PvMmu, MpState, CoalescedMmio, SyncMmu, Iommu, DestroyMemoryRegionWorks, UserNmi, SetGuestDebug, ReinjectControl, IrqRouting, IrqInjectStatus, AssignDevIrq, JoinMemoryRegionsWorks, Mce, Irqfd, Pit2, SetBootCpuId, PitState2, Ioeventfd, SetIdentityMapAddr, XenHvm, AdjustClock, InternalErrorData, VcpuEvents, S390Psw, PpcSegstate, Hyperv, HypervVapic, HypervSpin, PciSegment, PpcPairedSingles, IntrShadow, Debugregs, X86RobustSinglestep, PpcOsi, PpcUnsetIrq, EnableCap, Xsave, Xcrs, PpcGetPvinfo, PpcIrqLevel, AsyncPf, TscControl, GetTscKhz, PpcBookeSregs, SpaprTce, PpcSmt, PpcRma, MaxVcpus, PpcHior, PpcPapr, SwTlb, OneReg, S390Gmap, TscDeadlineTimer, S390Ucontrol, SyncRegs, Pci23, KvmclockCtrl, SignalMsi, PpcGetSmmuInfo, S390Cow, PpcAllocHtab, ReadonlyMem, IrqfdResample, PpcBookeWatchdog, PpcHtabFd, S390CssSupport, PpcEpr, ArmPsci, ArmSetDeviceAddr, DeviceCtrl, IrqMpic, PpcRtas, IrqXics, ArmEl132bit, SpaprMultitce, ExtEmulCpuid, HypervTime, IoapicPolarityIgnored, EnableCapVm, S390Irqchip, IoeventfdNoLength, VmAttributes, ArmPsci02, PpcFixupHcall, PpcEnableHcall, CheckExtensionVm, S390UserSigp, ImmediateExit, }

Capabilities exposed by KVM.

The capabilities list can be used in conjunction with Kvm::check_extension() to check if a particular capability is available.

The list of capabilities is based on the the KVM_CAP_* defines from the Linux KVM header.

Variants

IrqchipHltMmuShadowCacheControlUserMemorySetTssAddrVapicExtCpuidClocksourceNrVcpusNrMemslotsPitNopIoDelayPvMmuMpStateCoalescedMmioSyncMmuIommuDestroyMemoryRegionWorksUserNmiSetGuestDebugReinjectControlIrqRoutingIrqInjectStatusAssignDevIrqJoinMemoryRegionsWorksMceIrqfdPit2SetBootCpuIdPitState2IoeventfdSetIdentityMapAddrXenHvmAdjustClockInternalErrorDataVcpuEventsS390PswPpcSegstateHypervHypervVapicHypervSpinPciSegmentPpcPairedSinglesIntrShadowDebugregsX86RobustSinglestepPpcOsiPpcUnsetIrqEnableCapXsaveXcrsPpcGetPvinfoPpcIrqLevelAsyncPfTscControlGetTscKhzPpcBookeSregsSpaprTcePpcSmtPpcRmaMaxVcpusPpcHiorPpcPaprSwTlbOneRegS390GmapTscDeadlineTimerS390UcontrolSyncRegsPci23KvmclockCtrlSignalMsiPpcGetSmmuInfoS390CowPpcAllocHtabReadonlyMemIrqfdResamplePpcBookeWatchdogPpcHtabFdS390CssSupportPpcEprArmPsciArmSetDeviceAddrDeviceCtrlIrqMpicPpcRtasIrqXicsArmEl132bitSpaprMultitceExtEmulCpuidHypervTimeIoapicPolarityIgnoredEnableCapVmS390IrqchipIoeventfdNoLengthVmAttributesArmPsci02PpcFixupHcallPpcEnableHcallCheckExtensionVmS390UserSigpImmediateExit

Trait Implementations

impl Copy for Cap[src]

impl Clone for Cap[src]

default fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Cap[src]

Auto Trait Implementations

impl Send for Cap

impl Sync for Cap

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.