File tree Expand file tree Collapse file tree 3 files changed +0
-40
lines changed Expand file tree Collapse file tree 3 files changed +0
-40
lines changed Original file line number Diff line number Diff line change @@ -272,18 +272,6 @@ the VCPU file descriptor can be mmap-ed, including:
272
272
KVM_CAP_DIRTY_LOG_RING, see section 8.3.
273
273
274
274
275
- 4.6 KVM_SET_MEMORY_REGION
276
- -------------------------
277
-
278
- :Capability: basic
279
- :Architectures: all
280
- :Type: vm ioctl
281
- :Parameters: struct kvm_memory_region (in)
282
- :Returns: 0 on success, -1 on error
283
-
284
- This ioctl is obsolete and has been removed.
285
-
286
-
287
275
4.7 KVM_CREATE_VCPU
288
276
-------------------
289
277
@@ -1377,10 +1365,6 @@ the memory region are automatically reflected into the guest. For example, an
1377
1365
mmap() that affects the region will be made visible immediately. Another
1378
1366
example is madvise(MADV_DROP).
1379
1367
1380
- It is recommended to use this API instead of the KVM_SET_MEMORY_REGION ioctl.
1381
- The KVM_SET_MEMORY_REGION does not allow fine grained control over memory
1382
- allocation and is deprecated.
1383
-
1384
1368
1385
1369
4.36 KVM_SET_TSS_ADDR
1386
1370
---------------------
Original file line number Diff line number Diff line change @@ -86,14 +86,6 @@ struct kvm_debug_guest {
86
86
/* *** End of deprecated interfaces *** */
87
87
88
88
89
- /* for KVM_CREATE_MEMORY_REGION */
90
- struct kvm_memory_region {
91
- __u32 slot ;
92
- __u32 flags ;
93
- __u64 guest_phys_addr ;
94
- __u64 memory_size ; /* bytes */
95
- };
96
-
97
89
/* for KVM_SET_USER_MEMORY_REGION */
98
90
struct kvm_userspace_memory_region {
99
91
__u32 slot ;
@@ -1442,10 +1434,6 @@ struct kvm_vfio_spapr_tce {
1442
1434
__s32 tablefd ;
1443
1435
};
1444
1436
1445
- /*
1446
- * ioctls for VM fds
1447
- */
1448
- #define KVM_SET_MEMORY_REGION _IOW(KVMIO, 0x40, struct kvm_memory_region)
1449
1437
/*
1450
1438
* KVM_CREATE_VCPU receives as a parameter the vcpu slot, and returns
1451
1439
* a vcpu fd.
Original file line number Diff line number Diff line change @@ -86,14 +86,6 @@ struct kvm_debug_guest {
86
86
/* *** End of deprecated interfaces *** */
87
87
88
88
89
- /* for KVM_CREATE_MEMORY_REGION */
90
- struct kvm_memory_region {
91
- __u32 slot ;
92
- __u32 flags ;
93
- __u64 guest_phys_addr ;
94
- __u64 memory_size ; /* bytes */
95
- };
96
-
97
89
/* for KVM_SET_USER_MEMORY_REGION */
98
90
struct kvm_userspace_memory_region {
99
91
__u32 slot ;
@@ -1437,10 +1429,6 @@ struct kvm_vfio_spapr_tce {
1437
1429
__s32 tablefd ;
1438
1430
};
1439
1431
1440
- /*
1441
- * ioctls for VM fds
1442
- */
1443
- #define KVM_SET_MEMORY_REGION _IOW(KVMIO, 0x40, struct kvm_memory_region)
1444
1432
/*
1445
1433
* KVM_CREATE_VCPU receives as a parameter the vcpu slot, and returns
1446
1434
* a vcpu fd.
You can’t perform that action at this time.
0 commit comments