aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/virtual
diff options
context:
space:
mode:
authorCornelia Huck <cornelia.huck@de.ibm.com>2013-10-23 12:26:34 -0400
committerCornelia Huck <cornelia.huck@de.ibm.com>2014-03-21 08:42:39 -0400
commitd938dc55225a7212e7f31c5a8571da304cc3de16 (patch)
tree082b29c296ab2458d8365969bb85af23fe4a0dde /Documentation/virtual
parent36c95494609cd6d2541c08e806b4d6bc401bc53f (diff)
KVM: Add per-vm capability enablement.
Allow KVM_ENABLE_CAP to act on a vm as well as on a vcpu. This makes more sense when the caller wants to enable a vm-related capability. s390 will be the first user; wire it up. Reviewed-by: Thomas Huth <thuth@linux.vnet.ibm.com> Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'Documentation/virtual')
-rw-r--r--Documentation/virtual/kvm/api.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/Documentation/virtual/kvm/api.txt b/Documentation/virtual/kvm/api.txt
index 4714f282a43e..faf6fe9772c7 100644
--- a/Documentation/virtual/kvm/api.txt
+++ b/Documentation/virtual/kvm/api.txt
@@ -932,9 +932,9 @@ documentation when it pops into existence).
932 932
9334.37 KVM_ENABLE_CAP 9334.37 KVM_ENABLE_CAP
934 934
935Capability: KVM_CAP_ENABLE_CAP 935Capability: KVM_CAP_ENABLE_CAP, KVM_CAP_ENABLE_CAP_VM
936Architectures: ppc, s390 936Architectures: ppc, s390
937Type: vcpu ioctl 937Type: vcpu ioctl, vm ioctl (with KVM_CAP_ENABLE_CAP_VM)
938Parameters: struct kvm_enable_cap (in) 938Parameters: struct kvm_enable_cap (in)
939Returns: 0 on success; -1 on error 939Returns: 0 on success; -1 on error
940 940
@@ -965,6 +965,8 @@ function properly, this is the place to put them.
965 __u8 pad[64]; 965 __u8 pad[64];
966}; 966};
967 967
968The vcpu ioctl should be used for vcpu-specific capabilities, the vm ioctl
969for vm-wide capabilities.
968 970
9694.38 KVM_GET_MP_STATE 9714.38 KVM_GET_MP_STATE
970 972