#[repr(u32)]pub enum Cap {
Show 108 variants
Irqchip = 0,
Hlt = 1,
MmuShadowCacheControl = 2,
UserMemory = 3,
SetTssAddr = 4,
Vapic = 6,
ExtCpuid = 7,
Clocksource = 8,
NrVcpus = 9,
NrMemslots = 10,
Pit = 11,
NopIoDelay = 12,
PvMmu = 13,
MpState = 14,
CoalescedMmio = 15,
SyncMmu = 16,
Iommu = 18,
DestroyMemoryRegionWorks = 21,
UserNmi = 22,
SetGuestDebug = 23,
ReinjectControl = 24,
IrqRouting = 25,
IrqInjectStatus = 26,
AssignDevIrq = 29,
JoinMemoryRegionsWorks = 30,
Mce = 31,
Irqfd = 32,
Pit2 = 33,
SetBootCpuId = 34,
PitState2 = 35,
Ioeventfd = 36,
SetIdentityMapAddr = 37,
XenHvm = 38,
AdjustClock = 39,
InternalErrorData = 40,
VcpuEvents = 41,
S390Psw = 42,
PpcSegstate = 43,
Hyperv = 44,
HypervVapic = 45,
HypervSpin = 46,
PciSegment = 47,
PpcPairedSingles = 48,
IntrShadow = 49,
Debugregs = 50,
X86RobustSinglestep = 51,
PpcOsi = 52,
PpcUnsetIrq = 53,
EnableCap = 54,
Xsave = 55,
Xcrs = 56,
PpcGetPvinfo = 57,
PpcIrqLevel = 58,
AsyncPf = 59,
TscControl = 60,
GetTscKhz = 61,
PpcBookeSregs = 62,
SpaprTce = 63,
PpcSmt = 64,
PpcRma = 65,
MaxVcpus = 66,
PpcHior = 67,
PpcPapr = 68,
SwTlb = 69,
OneReg = 70,
S390Gmap = 71,
TscDeadlineTimer = 72,
S390Ucontrol = 73,
SyncRegs = 74,
Pci23 = 75,
KvmclockCtrl = 76,
SignalMsi = 77,
PpcGetSmmuInfo = 78,
S390Cow = 79,
PpcAllocHtab = 80,
ReadonlyMem = 81,
IrqfdResample = 82,
PpcBookeWatchdog = 83,
PpcHtabFd = 84,
S390CssSupport = 85,
PpcEpr = 86,
ArmPsci = 87,
ArmSetDeviceAddr = 88,
DeviceCtrl = 89,
IrqMpic = 90,
PpcRtas = 91,
IrqXics = 92,
ArmEl132bit = 93,
SpaprMultitce = 94,
ExtEmulCpuid = 95,
HypervTime = 96,
IoapicPolarityIgnored = 97,
EnableCapVm = 98,
S390Irqchip = 99,
IoeventfdNoLength = 100,
VmAttributes = 101,
ArmPsci02 = 102,
PpcFixupHcall = 103,
PpcEnableHcall = 104,
CheckExtensionVm = 105,
S390UserSigp = 106,
ImmediateExit = 136,
ArmPmuV3 = 126,
ArmProtectedVm = 4_290_435_761,
X86ProtectedVm = 4_290_435_762,
ArmMte = 205,
BusLockDetect = 193,
MemNoncoherentDma = 236,
}
Expand description
A capability the kernel’s KVM interface can possibly expose.
Variants§
Irqchip = 0
Hlt = 1
MmuShadowCacheControl = 2
UserMemory = 3
SetTssAddr = 4
Vapic = 6
ExtCpuid = 7
Clocksource = 8
NrVcpus = 9
NrMemslots = 10
Pit = 11
NopIoDelay = 12
PvMmu = 13
MpState = 14
CoalescedMmio = 15
SyncMmu = 16
Iommu = 18
DestroyMemoryRegionWorks = 21
UserNmi = 22
SetGuestDebug = 23
ReinjectControl = 24
IrqRouting = 25
IrqInjectStatus = 26
AssignDevIrq = 29
JoinMemoryRegionsWorks = 30
Mce = 31
Irqfd = 32
Pit2 = 33
SetBootCpuId = 34
PitState2 = 35
Ioeventfd = 36
SetIdentityMapAddr = 37
XenHvm = 38
AdjustClock = 39
InternalErrorData = 40
VcpuEvents = 41
S390Psw = 42
PpcSegstate = 43
Hyperv = 44
HypervVapic = 45
HypervSpin = 46
PciSegment = 47
PpcPairedSingles = 48
IntrShadow = 49
Debugregs = 50
X86RobustSinglestep = 51
PpcOsi = 52
PpcUnsetIrq = 53
EnableCap = 54
Xsave = 55
Xcrs = 56
PpcGetPvinfo = 57
PpcIrqLevel = 58
AsyncPf = 59
TscControl = 60
GetTscKhz = 61
PpcBookeSregs = 62
SpaprTce = 63
PpcSmt = 64
PpcRma = 65
MaxVcpus = 66
PpcHior = 67
PpcPapr = 68
SwTlb = 69
OneReg = 70
S390Gmap = 71
TscDeadlineTimer = 72
S390Ucontrol = 73
SyncRegs = 74
Pci23 = 75
KvmclockCtrl = 76
SignalMsi = 77
PpcGetSmmuInfo = 78
S390Cow = 79
PpcAllocHtab = 80
ReadonlyMem = 81
IrqfdResample = 82
PpcBookeWatchdog = 83
PpcHtabFd = 84
S390CssSupport = 85
PpcEpr = 86
ArmPsci = 87
ArmSetDeviceAddr = 88
DeviceCtrl = 89
IrqMpic = 90
PpcRtas = 91
IrqXics = 92
ArmEl132bit = 93
SpaprMultitce = 94
ExtEmulCpuid = 95
HypervTime = 96
IoapicPolarityIgnored = 97
EnableCapVm = 98
S390Irqchip = 99
IoeventfdNoLength = 100
VmAttributes = 101
ArmPsci02 = 102
PpcFixupHcall = 103
PpcEnableHcall = 104
CheckExtensionVm = 105
S390UserSigp = 106
ImmediateExit = 136
ArmPmuV3 = 126
ArmProtectedVm = 4_290_435_761
X86ProtectedVm = 4_290_435_762
ArmMte = 205
BusLockDetect = 193
MemNoncoherentDma = 236
Trait Implementations§
impl Copy for Cap
impl Eq for Cap
impl StructuralPartialEq for Cap
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§
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