File tree Expand file tree Collapse file tree 2 files changed +0
-39
lines changed Expand file tree Collapse file tree 2 files changed +0
-39
lines changed Original file line number Diff line number Diff line change @@ -2170,42 +2170,6 @@ userspace update the TCE table directly which is useful in some
2170
2170
circumstances.
2171
2171
2172
2172
2173
- 4.63 KVM_ALLOCATE_RMA
2174
- ---------------------
2175
-
2176
- :Capability: KVM_CAP_PPC_RMA
2177
- :Architectures: powerpc
2178
- :Type: vm ioctl
2179
- :Parameters: struct kvm_allocate_rma (out)
2180
- :Returns: file descriptor for mapping the allocated RMA
2181
-
2182
- This allocates a Real Mode Area (RMA) from the pool allocated at boot
2183
- time by the kernel. An RMA is a physically-contiguous, aligned region
2184
- of memory used on older POWER processors to provide the memory which
2185
- will be accessed by real-mode (MMU off) accesses in a KVM guest.
2186
- POWER processors support a set of sizes for the RMA that usually
2187
- includes 64MB, 128MB, 256MB and some larger powers of two.
2188
-
2189
- ::
2190
-
2191
- /* for KVM_ALLOCATE_RMA */
2192
- struct kvm_allocate_rma {
2193
- __u64 rma_size;
2194
- };
2195
-
2196
- The return value is a file descriptor which can be passed to mmap(2)
2197
- to map the allocated RMA into userspace. The mapped area can then be
2198
- passed to the KVM_SET_USER_MEMORY_REGION ioctl to establish it as the
2199
- RMA for a virtual machine. The size of the RMA in bytes (which is
2200
- fixed at host kernel boot time) is returned in the rma_size field of
2201
- the argument structure.
2202
-
2203
- The KVM_CAP_PPC_RMA capability is 1 or 2 if the KVM_ALLOCATE_RMA ioctl
2204
- is supported; 2 if the processor requires all virtual machines to have
2205
- an RMA, or 1 if the processor can use an RMA but doesn't require it,
2206
- because it supports the Virtual RMA (VRMA) facility.
2207
-
2208
-
2209
2173
4.64 KVM_NMI
2210
2174
------------
2211
2175
Original file line number Diff line number Diff line change @@ -612,9 +612,6 @@ int kvm_vm_ioctl_check_extension(struct kvm *kvm, long ext)
612
612
r = 8 | 4 | 2 | 1 ;
613
613
}
614
614
break ;
615
- case KVM_CAP_PPC_RMA :
616
- r = 0 ;
617
- break ;
618
615
case KVM_CAP_PPC_HWRNG :
619
616
r = kvmppc_hwrng_present ();
620
617
break ;
You can’t perform that action at this time.
0 commit comments