diff options
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/virtual/kvm/api.txt | 31 |
1 files changed, 27 insertions, 4 deletions
diff --git a/Documentation/virtual/kvm/api.txt b/Documentation/virtual/kvm/api.txt index 858aecf21db2..a89a5ee0b940 100644 --- a/Documentation/virtual/kvm/api.txt +++ b/Documentation/virtual/kvm/api.txt | |||
@@ -2304,7 +2304,31 @@ Possible features: | |||
2304 | Depends on KVM_CAP_ARM_EL1_32BIT (arm64 only). | 2304 | Depends on KVM_CAP_ARM_EL1_32BIT (arm64 only). |
2305 | 2305 | ||
2306 | 2306 | ||
2307 | 4.83 KVM_GET_REG_LIST | 2307 | 4.83 KVM_ARM_PREFERRED_TARGET |
2308 | |||
2309 | Capability: basic | ||
2310 | Architectures: arm, arm64 | ||
2311 | Type: vm ioctl | ||
2312 | Parameters: struct struct kvm_vcpu_init (out) | ||
2313 | Returns: 0 on success; -1 on error | ||
2314 | Errors: | ||
2315 | ENODEV: no preferred target available for the host | ||
2316 | |||
2317 | This queries KVM for preferred CPU target type which can be emulated | ||
2318 | by KVM on underlying host. | ||
2319 | |||
2320 | The ioctl returns struct kvm_vcpu_init instance containing information | ||
2321 | about preferred CPU target type and recommended features for it. The | ||
2322 | kvm_vcpu_init->features bitmap returned will have feature bits set if | ||
2323 | the preferred target recommends setting these features, but this is | ||
2324 | not mandatory. | ||
2325 | |||
2326 | The information returned by this ioctl can be used to prepare an instance | ||
2327 | of struct kvm_vcpu_init for KVM_ARM_VCPU_INIT ioctl which will result in | ||
2328 | in VCPU matching underlying host. | ||
2329 | |||
2330 | |||
2331 | 4.84 KVM_GET_REG_LIST | ||
2308 | 2332 | ||
2309 | Capability: basic | 2333 | Capability: basic |
2310 | Architectures: arm, arm64 | 2334 | Architectures: arm, arm64 |
@@ -2323,8 +2347,7 @@ struct kvm_reg_list { | |||
2323 | This ioctl returns the guest registers that are supported for the | 2347 | This ioctl returns the guest registers that are supported for the |
2324 | KVM_GET_ONE_REG/KVM_SET_ONE_REG calls. | 2348 | KVM_GET_ONE_REG/KVM_SET_ONE_REG calls. |
2325 | 2349 | ||
2326 | 2350 | 4.85 KVM_ARM_SET_DEVICE_ADDR | |
2327 | 4.84 KVM_ARM_SET_DEVICE_ADDR | ||
2328 | 2351 | ||
2329 | Capability: KVM_CAP_ARM_SET_DEVICE_ADDR | 2352 | Capability: KVM_CAP_ARM_SET_DEVICE_ADDR |
2330 | Architectures: arm, arm64 | 2353 | Architectures: arm, arm64 |
@@ -2362,7 +2385,7 @@ must be called after calling KVM_CREATE_IRQCHIP, but before calling | |||
2362 | KVM_RUN on any of the VCPUs. Calling this ioctl twice for any of the | 2385 | KVM_RUN on any of the VCPUs. Calling this ioctl twice for any of the |
2363 | base addresses will return -EEXIST. | 2386 | base addresses will return -EEXIST. |
2364 | 2387 | ||
2365 | 4.85 KVM_PPC_RTAS_DEFINE_TOKEN | 2388 | 4.86 KVM_PPC_RTAS_DEFINE_TOKEN |
2366 | 2389 | ||
2367 | Capability: KVM_CAP_PPC_RTAS | 2390 | Capability: KVM_CAP_PPC_RTAS |
2368 | Architectures: ppc | 2391 | Architectures: ppc |