diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2014-07-22 04:22:53 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-07-22 04:22:53 -0400 |
commit | c756ad036fc8ef432438e89aab63cc723eda39b4 (patch) | |
tree | 16bf4d2d280f624ff2ce99f5d02aeb7f002863f6 /Documentation/virtual | |
parent | 6f43ed01e87c8a8dbd8c826eaf0f714c1342c039 (diff) | |
parent | e59d120f96687a606db0513c427f10e30a427cc4 (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.txt | 27 |
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: | |||
2934 | 6. Capabilities that can be enabled | 2934 | 6. Capabilities that can be enabled |
2935 | ----------------------------------- | 2935 | ----------------------------------- |
2936 | 2936 | ||
2937 | There are certain capabilities that change the behavior of the virtual CPU when | 2937 | There are certain capabilities that change the behavior of the virtual CPU or |
2938 | enabled. To enable them, please see section 4.37. Below you can find a list of | 2938 | the virtual machine when enabled. To enable them, please see section 4.37. |
2939 | capabilities and what their effect on the vCPU is when enabling them. | 2939 | Below you can find a list of capabilities and what their effect on the vCPU or |
2940 | the virtual machine is when enabling them. | ||
2940 | 2941 | ||
2941 | The following information is provided along with the description: | 2942 | The 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: | |||
2952 | 6.1 KVM_CAP_PPC_OSI | 2955 | 6.1 KVM_CAP_PPC_OSI |
2953 | 2956 | ||
2954 | Architectures: ppc | 2957 | Architectures: ppc |
2958 | Target: vcpu | ||
2955 | Parameters: none | 2959 | Parameters: none |
2956 | Returns: 0 on success; -1 on error | 2960 | Returns: 0 on success; -1 on error |
2957 | 2961 | ||
@@ -2966,6 +2970,7 @@ When this capability is enabled, KVM_EXIT_OSI can occur. | |||
2966 | 6.2 KVM_CAP_PPC_PAPR | 2970 | 6.2 KVM_CAP_PPC_PAPR |
2967 | 2971 | ||
2968 | Architectures: ppc | 2972 | Architectures: ppc |
2973 | Target: vcpu | ||
2969 | Parameters: none | 2974 | Parameters: none |
2970 | Returns: 0 on success; -1 on error | 2975 | Returns: 0 on success; -1 on error |
2971 | 2976 | ||
@@ -2985,6 +2990,7 @@ When this capability is enabled, KVM_EXIT_PAPR_HCALL can occur. | |||
2985 | 6.3 KVM_CAP_SW_TLB | 2990 | 6.3 KVM_CAP_SW_TLB |
2986 | 2991 | ||
2987 | Architectures: ppc | 2992 | Architectures: ppc |
2993 | Target: vcpu | ||
2988 | Parameters: args[0] is the address of a struct kvm_config_tlb | 2994 | Parameters: args[0] is the address of a struct kvm_config_tlb |
2989 | Returns: 0 on success; -1 on error | 2995 | Returns: 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: | |||
3027 | 6.4 KVM_CAP_S390_CSS_SUPPORT | 3033 | 6.4 KVM_CAP_S390_CSS_SUPPORT |
3028 | 3034 | ||
3029 | Architectures: s390 | 3035 | Architectures: s390 |
3036 | Target: vcpu | ||
3030 | Parameters: none | 3037 | Parameters: none |
3031 | Returns: 0 on success; -1 on error | 3038 | Returns: 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. | |||
3038 | When this capability is enabled, KVM_EXIT_S390_TSCH will occur on TEST | 3045 | When this capability is enabled, KVM_EXIT_S390_TSCH will occur on TEST |
3039 | SUBCHANNEL intercepts. | 3046 | SUBCHANNEL intercepts. |
3040 | 3047 | ||
3048 | Note that even though this capability is enabled per-vcpu, the complete | ||
3049 | virtual machine is affected. | ||
3050 | |||
3041 | 6.5 KVM_CAP_PPC_EPR | 3051 | 6.5 KVM_CAP_PPC_EPR |
3042 | 3052 | ||
3043 | Architectures: ppc | 3053 | Architectures: ppc |
3054 | Target: vcpu | ||
3044 | Parameters: args[0] defines whether the proxy facility is active | 3055 | Parameters: args[0] defines whether the proxy facility is active |
3045 | Returns: 0 on success; -1 on error | 3056 | Returns: 0 on success; -1 on error |
3046 | 3057 | ||
@@ -3066,7 +3077,17 @@ This capability connects the vcpu to an in-kernel MPIC device. | |||
3066 | 6.7 KVM_CAP_IRQ_XICS | 3077 | 6.7 KVM_CAP_IRQ_XICS |
3067 | 3078 | ||
3068 | Architectures: ppc | 3079 | Architectures: ppc |
3080 | Target: vcpu | ||
3069 | Parameters: args[0] is the XICS device fd | 3081 | Parameters: 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 | ||
3072 | This capability connects the vcpu to an in-kernel XICS device. | 3084 | This capability connects the vcpu to an in-kernel XICS device. |
3085 | |||
3086 | 6.8 KVM_CAP_S390_IRQCHIP | ||
3087 | |||
3088 | Architectures: s390 | ||
3089 | Target: vm | ||
3090 | Parameters: none | ||
3091 | |||
3092 | This capability enables the in-kernel irqchip for s390. Please refer to | ||
3093 | "4.24 KVM_CREATE_IRQCHIP" for details. | ||