diff options
author | Dominik Dingel <dingel@linux.vnet.ibm.com> | 2014-04-09 07:13:00 -0400 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2014-04-22 07:24:32 -0400 |
commit | 4f718eab262868aeab83774ec4ce25e6a9906657 (patch) | |
tree | e5913e863cea1909a1cac6b9f1cafcf4f57ef446 /Documentation/virtual | |
parent | b31605c12f4edda7a40ad9f86985739666298c31 (diff) |
KVM: s390: Exploiting generic userspace interface for cmma
To enable CMMA and to reset its state we use the vm kvm_device ioctls,
encapsulating attributes within the KVM_S390_VM_MEM_CTRL group.
Signed-off-by: Dominik Dingel <dingel@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'Documentation/virtual')
-rw-r--r-- | Documentation/virtual/kvm/devices/vm.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Documentation/virtual/kvm/devices/vm.txt b/Documentation/virtual/kvm/devices/vm.txt index 562bee6e600b..0d16f96c0eac 100644 --- a/Documentation/virtual/kvm/devices/vm.txt +++ b/Documentation/virtual/kvm/devices/vm.txt | |||
@@ -8,3 +8,19 @@ and controls. | |||
8 | 8 | ||
9 | The groups and attributes per virtual machine, if any, are architecture | 9 | The groups and attributes per virtual machine, if any, are architecture |
10 | specific. | 10 | specific. |
11 | |||
12 | 1. GROUP: KVM_S390_VM_MEM_CTRL | ||
13 | Architectures: s390 | ||
14 | |||
15 | 1.1. ATTRIBUTE: KVM_S390_VM_MEM_CTRL | ||
16 | Parameters: none | ||
17 | Returns: -EBUSY if already a vcpus is defined, otherwise 0 | ||
18 | |||
19 | Enables CMMA for the virtual machine | ||
20 | |||
21 | 1.2. ATTRIBUTE: KVM_S390_VM_CLR_CMMA | ||
22 | Parameteres: none | ||
23 | Returns: 0 | ||
24 | |||
25 | Clear the CMMA status for all guest pages, so any pages the guest marked | ||
26 | as unused are again used any may not be reclaimed by the host. | ||