aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/virtual
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2014-07-22 04:22:53 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2014-07-22 04:22:53 -0400
commitc756ad036fc8ef432438e89aab63cc723eda39b4 (patch)
tree16bf4d2d280f624ff2ce99f5d02aeb7f002863f6 /Documentation/virtual
parent6f43ed01e87c8a8dbd8c826eaf0f714c1342c039 (diff)
parente59d120f96687a606db0513c427f10e30a427cc4 (diff)
Merge tag 'kvm-s390-20140721' of git://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux into kvm-next
Bugfixes -------- - add IPTE to trace event decoder - document and advertise KVM_CAP_S390_IRQCHIP Cleanups -------- - Reuse kvm_vcpu_block for s390 - Get rid of tasklet for wakup processing
Diffstat (limited to 'Documentation/virtual')
-rw-r--r--Documentation/virtual/kvm/api.txt27
1 files changed, 24 insertions, 3 deletions
diff --git a/Documentation/virtual/kvm/api.txt b/Documentation/virtual/kvm/api.txt
index 587972ca12c5..68cda1fc3d52 100644
--- a/Documentation/virtual/kvm/api.txt
+++ b/Documentation/virtual/kvm/api.txt
@@ -2934,15 +2934,18 @@ The fields in each entry are defined as follows:
29346. Capabilities that can be enabled 29346. Capabilities that can be enabled
2935----------------------------------- 2935-----------------------------------
2936 2936
2937There are certain capabilities that change the behavior of the virtual CPU when 2937There are certain capabilities that change the behavior of the virtual CPU or
2938enabled. To enable them, please see section 4.37. Below you can find a list of 2938the virtual machine when enabled. To enable them, please see section 4.37.
2939capabilities and what their effect on the vCPU is when enabling them. 2939Below you can find a list of capabilities and what their effect on the vCPU or
2940the virtual machine is when enabling them.
2940 2941
2941The following information is provided along with the description: 2942The following information is provided along with the description:
2942 2943
2943 Architectures: which instruction set architectures provide this ioctl. 2944 Architectures: which instruction set architectures provide this ioctl.
2944 x86 includes both i386 and x86_64. 2945 x86 includes both i386 and x86_64.
2945 2946
2947 Target: whether this is a per-vcpu or per-vm capability.
2948
2946 Parameters: what parameters are accepted by the capability. 2949 Parameters: what parameters are accepted by the capability.
2947 2950
2948 Returns: the return value. General error numbers (EBADF, ENOMEM, EINVAL) 2951 Returns: the return value. General error numbers (EBADF, ENOMEM, EINVAL)
@@ -2952,6 +2955,7 @@ The following information is provided along with the description:
29526.1 KVM_CAP_PPC_OSI 29556.1 KVM_CAP_PPC_OSI
2953 2956
2954Architectures: ppc 2957Architectures: ppc
2958Target: vcpu
2955Parameters: none 2959Parameters: none
2956Returns: 0 on success; -1 on error 2960Returns: 0 on success; -1 on error
2957 2961
@@ -2966,6 +2970,7 @@ When this capability is enabled, KVM_EXIT_OSI can occur.
29666.2 KVM_CAP_PPC_PAPR 29706.2 KVM_CAP_PPC_PAPR
2967 2971
2968Architectures: ppc 2972Architectures: ppc
2973Target: vcpu
2969Parameters: none 2974Parameters: none
2970Returns: 0 on success; -1 on error 2975Returns: 0 on success; -1 on error
2971 2976
@@ -2985,6 +2990,7 @@ When this capability is enabled, KVM_EXIT_PAPR_HCALL can occur.
29856.3 KVM_CAP_SW_TLB 29906.3 KVM_CAP_SW_TLB
2986 2991
2987Architectures: ppc 2992Architectures: ppc
2993Target: vcpu
2988Parameters: args[0] is the address of a struct kvm_config_tlb 2994Parameters: args[0] is the address of a struct kvm_config_tlb
2989Returns: 0 on success; -1 on error 2995Returns: 0 on success; -1 on error
2990 2996
@@ -3027,6 +3033,7 @@ For mmu types KVM_MMU_FSL_BOOKE_NOHV and KVM_MMU_FSL_BOOKE_HV:
30276.4 KVM_CAP_S390_CSS_SUPPORT 30336.4 KVM_CAP_S390_CSS_SUPPORT
3028 3034
3029Architectures: s390 3035Architectures: s390
3036Target: vcpu
3030Parameters: none 3037Parameters: none
3031Returns: 0 on success; -1 on error 3038Returns: 0 on success; -1 on error
3032 3039
@@ -3038,9 +3045,13 @@ handled in-kernel, while the other I/O instructions are passed to userspace.
3038When this capability is enabled, KVM_EXIT_S390_TSCH will occur on TEST 3045When this capability is enabled, KVM_EXIT_S390_TSCH will occur on TEST
3039SUBCHANNEL intercepts. 3046SUBCHANNEL intercepts.
3040 3047
3048Note that even though this capability is enabled per-vcpu, the complete
3049virtual machine is affected.
3050
30416.5 KVM_CAP_PPC_EPR 30516.5 KVM_CAP_PPC_EPR
3042 3052
3043Architectures: ppc 3053Architectures: ppc
3054Target: vcpu
3044Parameters: args[0] defines whether the proxy facility is active 3055Parameters: args[0] defines whether the proxy facility is active
3045Returns: 0 on success; -1 on error 3056Returns: 0 on success; -1 on error
3046 3057
@@ -3066,7 +3077,17 @@ This capability connects the vcpu to an in-kernel MPIC device.
30666.7 KVM_CAP_IRQ_XICS 30776.7 KVM_CAP_IRQ_XICS
3067 3078
3068Architectures: ppc 3079Architectures: ppc
3080Target: vcpu
3069Parameters: args[0] is the XICS device fd 3081Parameters: args[0] is the XICS device fd
3070 args[1] is the XICS CPU number (server ID) for this vcpu 3082 args[1] is the XICS CPU number (server ID) for this vcpu
3071 3083
3072This capability connects the vcpu to an in-kernel XICS device. 3084This capability connects the vcpu to an in-kernel XICS device.
3085
30866.8 KVM_CAP_S390_IRQCHIP
3087
3088Architectures: s390
3089Target: vm
3090Parameters: none
3091
3092This capability enables the in-kernel irqchip for s390. Please refer to
3093"4.24 KVM_CREATE_IRQCHIP" for details.