Skip to content

Commit 10c5e80

Browse files
martinezjavierbonzini
authored andcommitted
KVM: Add missing arch for KVM_CREATE_DEVICE and KVM_{SET,GET}_DEVICE_ATTR
The ioctls are missing an architecture property that is present in others. Suggested-by: Sergio Lopez Pascual <[email protected]> Signed-off-by: Javier Martinez Canillas <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
1 parent 30ee198 commit 10c5e80

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Documentation/virt/kvm/api.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3266,6 +3266,7 @@ valid entries found.
32663266
----------------------
32673267

32683268
:Capability: KVM_CAP_DEVICE_CTRL
3269+
:Architectures: all
32693270
:Type: vm ioctl
32703271
:Parameters: struct kvm_create_device (in/out)
32713272
:Returns: 0 on success, -1 on error
@@ -3306,6 +3307,7 @@ number.
33063307
:Capability: KVM_CAP_DEVICE_CTRL, KVM_CAP_VM_ATTRIBUTES for vm device,
33073308
KVM_CAP_VCPU_ATTRIBUTES for vcpu device
33083309
KVM_CAP_SYS_ATTRIBUTES for system (/dev/kvm) device (no set)
3310+
:Architectures: x86, arm64, s390
33093311
:Type: device ioctl, vm ioctl, vcpu ioctl
33103312
:Parameters: struct kvm_device_attr
33113313
:Returns: 0 on success, -1 on error

0 commit comments

Comments
 (0)