aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorGleb Natapov <gleb@redhat.com>2013-10-16 08:30:32 -0400
committerGleb Natapov <gleb@redhat.com>2013-10-16 08:30:32 -0400
commitd570142674890fe10b3d7d86aa105e3dfce1ddfa (patch)
tree8a681c3cd9e21400773e24b32f8849d0f25cf4e7 /Documentation
parentf2e106692d5189303997ad7b96de8d8123aa5613 (diff)
parenta7265fb1751ffbfad553afc7f592a6dac6be48de (diff)
Merge tag 'kvm-arm-for-3.13-1' of git://git.linaro.org/people/cdall/linux-kvm-arm into next
Updates for KVM/ARM including cpu=host and Cortex-A7 support
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/virtual/kvm/api.txt31
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
23074.83 KVM_GET_REG_LIST 23074.83 KVM_ARM_PREFERRED_TARGET
2308
2309Capability: basic
2310Architectures: arm, arm64
2311Type: vm ioctl
2312Parameters: struct struct kvm_vcpu_init (out)
2313Returns: 0 on success; -1 on error
2314Errors:
2315 ENODEV: no preferred target available for the host
2316
2317This queries KVM for preferred CPU target type which can be emulated
2318by KVM on underlying host.
2319
2320The ioctl returns struct kvm_vcpu_init instance containing information
2321about preferred CPU target type and recommended features for it. The
2322kvm_vcpu_init->features bitmap returned will have feature bits set if
2323the preferred target recommends setting these features, but this is
2324not mandatory.
2325
2326The information returned by this ioctl can be used to prepare an instance
2327of struct kvm_vcpu_init for KVM_ARM_VCPU_INIT ioctl which will result in
2328in VCPU matching underlying host.
2329
2330
23314.84 KVM_GET_REG_LIST
2308 2332
2309Capability: basic 2333Capability: basic
2310Architectures: arm, arm64 2334Architectures: arm, arm64
@@ -2323,8 +2347,7 @@ struct kvm_reg_list {
2323This ioctl returns the guest registers that are supported for the 2347This ioctl returns the guest registers that are supported for the
2324KVM_GET_ONE_REG/KVM_SET_ONE_REG calls. 2348KVM_GET_ONE_REG/KVM_SET_ONE_REG calls.
2325 2349
2326 23504.85 KVM_ARM_SET_DEVICE_ADDR
23274.84 KVM_ARM_SET_DEVICE_ADDR
2328 2351
2329Capability: KVM_CAP_ARM_SET_DEVICE_ADDR 2352Capability: KVM_CAP_ARM_SET_DEVICE_ADDR
2330Architectures: arm, arm64 2353Architectures: arm, arm64
@@ -2362,7 +2385,7 @@ must be called after calling KVM_CREATE_IRQCHIP, but before calling
2362KVM_RUN on any of the VCPUs. Calling this ioctl twice for any of the 2385KVM_RUN on any of the VCPUs. Calling this ioctl twice for any of the
2363base addresses will return -EEXIST. 2386base addresses will return -EEXIST.
2364 2387
23654.85 KVM_PPC_RTAS_DEFINE_TOKEN 23884.86 KVM_PPC_RTAS_DEFINE_TOKEN
2366 2389
2367Capability: KVM_CAP_PPC_RTAS 2390Capability: KVM_CAP_PPC_RTAS
2368Architectures: ppc 2391Architectures: ppc