diff options
author | Avi Kivity <avi@redhat.com> | 2010-06-21 04:48:05 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-08-01 03:47:01 -0400 |
commit | b74a07beed0e64bfba413dcb70dd6749c57f43dc (patch) | |
tree | 7a04532866b919718d41bbb75a21966aa4e48904 /Documentation/kvm | |
parent | a1f4d39500ad8ed61825eff061debff42386ab5b (diff) |
KVM: Remove kernel-allocated memory regions
Equivalent (and better) functionality is provided by user-allocated memory
regions.
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'Documentation/kvm')
-rw-r--r-- | Documentation/kvm/api.txt | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/Documentation/kvm/api.txt b/Documentation/kvm/api.txt index 7e415943a11e..d9b00f15fbe6 100644 --- a/Documentation/kvm/api.txt +++ b/Documentation/kvm/api.txt | |||
@@ -160,29 +160,7 @@ Type: vm ioctl | |||
160 | Parameters: struct kvm_memory_region (in) | 160 | Parameters: struct kvm_memory_region (in) |
161 | Returns: 0 on success, -1 on error | 161 | Returns: 0 on success, -1 on error |
162 | 162 | ||
163 | struct kvm_memory_region { | 163 | This ioctl is obsolete and has been removed. |
164 | __u32 slot; | ||
165 | __u32 flags; | ||
166 | __u64 guest_phys_addr; | ||
167 | __u64 memory_size; /* bytes */ | ||
168 | }; | ||
169 | |||
170 | /* for kvm_memory_region::flags */ | ||
171 | #define KVM_MEM_LOG_DIRTY_PAGES 1UL | ||
172 | |||
173 | This ioctl allows the user to create or modify a guest physical memory | ||
174 | slot. When changing an existing slot, it may be moved in the guest | ||
175 | physical memory space, or its flags may be modified. It may not be | ||
176 | resized. Slots may not overlap. | ||
177 | |||
178 | The flags field supports just one flag, KVM_MEM_LOG_DIRTY_PAGES, which | ||
179 | instructs kvm to keep track of writes to memory within the slot. See | ||
180 | the KVM_GET_DIRTY_LOG ioctl. | ||
181 | |||
182 | It is recommended to use the KVM_SET_USER_MEMORY_REGION ioctl instead | ||
183 | of this API, if available. This newer API allows placing guest memory | ||
184 | at specified locations in the host address space, yielding better | ||
185 | control and easy access. | ||
186 | 164 | ||
187 | 4.6 KVM_CREATE_VCPU | 165 | 4.6 KVM_CREATE_VCPU |
188 | 166 | ||