diff options
Diffstat (limited to 'Documentation/virtual')
-rw-r--r-- | Documentation/virtual/kvm/api.txt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Documentation/virtual/kvm/api.txt b/Documentation/virtual/kvm/api.txt index 149558b1e81e..fb308be8521b 100644 --- a/Documentation/virtual/kvm/api.txt +++ b/Documentation/virtual/kvm/api.txt | |||
@@ -2341,6 +2341,25 @@ and distributor interface, the ioctl must be called after calling | |||
2341 | KVM_CREATE_IRQCHIP, but before calling KVM_RUN on any of the VCPUs. Calling | 2341 | KVM_CREATE_IRQCHIP, but before calling KVM_RUN on any of the VCPUs. Calling |
2342 | this ioctl twice for any of the base addresses will return -EEXIST. | 2342 | this ioctl twice for any of the base addresses will return -EEXIST. |
2343 | 2343 | ||
2344 | 4.82 KVM_PPC_RTAS_DEFINE_TOKEN | ||
2345 | |||
2346 | Capability: KVM_CAP_PPC_RTAS | ||
2347 | Architectures: ppc | ||
2348 | Type: vm ioctl | ||
2349 | Parameters: struct kvm_rtas_token_args | ||
2350 | Returns: 0 on success, -1 on error | ||
2351 | |||
2352 | Defines a token value for a RTAS (Run Time Abstraction Services) | ||
2353 | service in order to allow it to be handled in the kernel. The | ||
2354 | argument struct gives the name of the service, which must be the name | ||
2355 | of a service that has a kernel-side implementation. If the token | ||
2356 | value is non-zero, it will be associated with that service, and | ||
2357 | subsequent RTAS calls by the guest specifying that token will be | ||
2358 | handled by the kernel. If the token value is 0, then any token | ||
2359 | associated with the service will be forgotten, and subsequent RTAS | ||
2360 | calls by the guest for that service will be passed to userspace to be | ||
2361 | handled. | ||
2362 | |||
2344 | 2363 | ||
2345 | 5. The kvm_run structure | 2364 | 5. The kvm_run structure |
2346 | ------------------------ | 2365 | ------------------------ |