Enum kvm_ioctls::Cap[][src]

#[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,
    MaxVcpuId,
    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,
    SplitIrqchip,
    ImmediateExit,
    ArmVmIPASize,
    MsiDevid,
    HypervSynic,
    HypervSynic2,
}

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

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
MaxVcpuId
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
SplitIrqchip
ImmediateExit
ArmVmIPASize
MsiDevid
HypervSynic
HypervSynic2

Trait Implementations

impl Clone for Cap[src]

impl Copy for Cap[src]

impl Debug for Cap[src]

Auto Trait Implementations

impl RefUnwindSafe for Cap

impl Send for Cap

impl Sync for Cap

impl Unpin for Cap

impl UnwindSafe for Cap

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.