@@ -96,12 +96,9 @@ description:
96
96
Capability:
97
97
which KVM extension provides this ioctl. Can be 'basic',
98
98
which means that is will be provided by any kernel that supports
99
- API version 12 (see section 4.1), a KVM_CAP_xyz constant, which
99
+ API version 12 (see section 4.1), or a KVM_CAP_xyz constant, which
100
100
means availability needs to be checked with KVM_CHECK_EXTENSION
101
- (see section 4.4), or 'none' which means that while not all kernels
102
- support this ioctl, there's no capability bit to check its
103
- availability: for kernels that don't support the ioctl,
104
- the ioctl returns -ENOTTY.
101
+ (see section 4.4).
105
102
106
103
Architectures:
107
104
which instruction set architectures provide this ioctl.
@@ -338,8 +335,8 @@ KVM_S390_SIE_PAGE_OFFSET in order to obtain a memory map of the virtual
338
335
cpu's hardware control block.
339
336
340
337
341
- 4.8 KVM_GET_DIRTY_LOG (vm ioctl)
342
- --------------------------------
338
+ 4.8 KVM_GET_DIRTY_LOG
339
+ ---------------------
343
340
344
341
:Capability: basic
345
342
:Architectures: all
@@ -1298,7 +1295,7 @@ See KVM_GET_VCPU_EVENTS for the data structure.
1298
1295
1299
1296
:Capability: KVM_CAP_DEBUGREGS
1300
1297
:Architectures: x86
1301
- :Type: vm ioctl
1298
+ :Type: vcpu ioctl
1302
1299
:Parameters: struct kvm_debugregs (out)
1303
1300
:Returns: 0 on success, -1 on error
1304
1301
@@ -1320,7 +1317,7 @@ Reads debug registers from the vcpu.
1320
1317
1321
1318
:Capability: KVM_CAP_DEBUGREGS
1322
1319
:Architectures: x86
1323
- :Type: vm ioctl
1320
+ :Type: vcpu ioctl
1324
1321
:Parameters: struct kvm_debugregs (in)
1325
1322
:Returns: 0 on success, -1 on error
1326
1323
@@ -2116,8 +2113,8 @@ TLB, prior to calling KVM_RUN on the associated vcpu.
2116
2113
2117
2114
The "bitmap" field is the userspace address of an array. This array
2118
2115
consists of a number of bits, equal to the total number of TLB entries as
2119
- determined by the last successful call to KVM_CONFIG_TLB, rounded up to the
2120
- nearest multiple of 64.
2116
+ determined by the last successful call to `` KVM_ENABLE_CAP(KVM_CAP_SW_TLB) ``,
2117
+ rounded up to the nearest multiple of 64.
2121
2118
2122
2119
Each bit corresponds to one TLB entry, ordered the same as in the shared TLB
2123
2120
array.
@@ -3557,6 +3554,27 @@ Errors:
3557
3554
This ioctl returns the guest registers that are supported for the
3558
3555
KVM_GET_ONE_REG/KVM_SET_ONE_REG calls.
3559
3556
3557
+ Note that s390 does not support KVM_GET_REG_LIST for historical reasons
3558
+ (read: nobody cared). The set of registers in kernels 4.x and newer is:
3559
+
3560
+ - KVM_REG_S390_TODPR
3561
+
3562
+ - KVM_REG_S390_EPOCHDIFF
3563
+
3564
+ - KVM_REG_S390_CPU_TIMER
3565
+
3566
+ - KVM_REG_S390_CLOCK_COMP
3567
+
3568
+ - KVM_REG_S390_PFTOKEN
3569
+
3570
+ - KVM_REG_S390_PFCOMPARE
3571
+
3572
+ - KVM_REG_S390_PFSELECT
3573
+
3574
+ - KVM_REG_S390_PP
3575
+
3576
+ - KVM_REG_S390_GBEA
3577
+
3560
3578
3561
3579
4.85 KVM_ARM_SET_DEVICE_ADDR (deprecated)
3562
3580
-----------------------------------------
@@ -4920,8 +4938,8 @@ Coalesced pio is based on coalesced mmio. There is little difference
4920
4938
between coalesced mmio and pio except that coalesced pio records accesses
4921
4939
to I/O ports.
4922
4940
4923
- 4.117 KVM_CLEAR_DIRTY_LOG (vm ioctl)
4924
- ------------------------------------
4941
+ 4.117 KVM_CLEAR_DIRTY_LOG
4942
+ -------------------------
4925
4943
4926
4944
:Capability: KVM_CAP_MANUAL_DIRTY_LOG_PROTECT2
4927
4945
:Architectures: x86, arm64, mips
@@ -5230,7 +5248,7 @@ the cpu reset definition in the POP (Principles Of Operation).
5230
5248
4.123 KVM_S390_INITIAL_RESET
5231
5249
----------------------------
5232
5250
5233
- :Capability: none
5251
+ :Capability: basic
5234
5252
:Architectures: s390
5235
5253
:Type: vcpu ioctl
5236
5254
:Parameters: none
@@ -6169,7 +6187,7 @@ applied.
6169
6187
.. _KVM_ARM_GET_REG_WRITABLE_MASKS :
6170
6188
6171
6189
4.139 KVM_ARM_GET_REG_WRITABLE_MASKS
6172
- -------------------------------------------
6190
+ ------------------------------------
6173
6191
6174
6192
:Capability: KVM_CAP_ARM_SUPPORTED_REG_MASK_RANGES
6175
6193
:Architectures: arm64
0 commit comments