The documentation says that the ioctl has been deprecated, but it has been actually removed and the remaining references are just left overs.
Unified · Split
| @@ -356,17 +356,6 @@ see the description of the capability. · 355 unmodified lines | |||
| 356 | Note that the Xen shared info page, if configured, shall always be assumed | 356 | Note that the Xen shared info page, if configured, shall always be assumed |
| 357 | to be dirty. KVM will not explicitly mark it such. | 357 | to be dirty. KVM will not explicitly mark it such. |
| 358 | 358 | ||
| 359 | 4.9 KVM_SET_MEMORY_ALIAS | ||
| 360 | ------------------------ | ||
| 361 | |||
| 362 | :Capability: basic | ||
| 363 | :Architectures: x86 | ||
| 364 | :Type: vm ioctl | ||
| 365 | :Parameters: struct kvm_memory_alias (in) | ||
| 366 | :Returns: 0 (success), -1 (error) | ||
| 367 | |||
| 368 | This ioctl is obsolete and has been removed. | ||
| 369 | |||
| 370 | 359 | ||
| 371 | 4.10 KVM_RUN | 360 | 4.10 KVM_RUN |
| 372 | ------------ | 361 | ------------ |
| @@ -53,14 +53,6 @@ · 52 unmodified lines | |||
| 53 | /* Architectural interrupt line count. */ | 53 | /* Architectural interrupt line count. */ |
| 54 | #define KVM_NR_INTERRUPTS 256 | 54 | #define KVM_NR_INTERRUPTS 256 |
| 55 | 55 | ||
| 56 | struct kvm_memory_alias { | ||
| 57 | __u32 slot; /* this has a different namespace than memory slots */ | ||
| 58 | __u32 flags; | ||
| 59 | __u64 guest_phys_addr; | ||
| 60 | __u64 memory_size; | ||
| 61 | __u64 target_phys_addr; | ||
| 62 | }; | ||
| 63 | |||
| 64 | /* for KVM_GET_IRQCHIP and KVM_SET_IRQCHIP */ | 56 | /* for KVM_GET_IRQCHIP and KVM_SET_IRQCHIP */ |
| 65 | struct kvm_pic_state { | 57 | struct kvm_pic_state { |
| 66 | __u8 last_irr; /* edge detection */ | 58 | __u8 last_irr; /* edge detection */ |
| @@ -1440,8 +1440,6 @@ struct kvm_vfio_spapr_tce { · 1439 unmodified lines | |||
| 1440 | */ | 1440 | */ |
| 1441 | #define KVM_CREATE_VCPU _IO(KVMIO, 0x41) | 1441 | #define KVM_CREATE_VCPU _IO(KVMIO, 0x41) |
| 1442 | #define KVM_GET_DIRTY_LOG _IOW(KVMIO, 0x42, struct kvm_dirty_log) | 1442 | #define KVM_GET_DIRTY_LOG _IOW(KVMIO, 0x42, struct kvm_dirty_log) |
| 1443 | /* KVM_SET_MEMORY_ALIAS is obsolete: */ | ||
| 1444 | #define KVM_SET_MEMORY_ALIAS _IOW(KVMIO, 0x43, struct kvm_memory_alias) | ||
| 1445 | #define KVM_SET_NR_MMU_PAGES _IO(KVMIO, 0x44) | 1443 | #define KVM_SET_NR_MMU_PAGES _IO(KVMIO, 0x44) |
| 1446 | #define KVM_GET_NR_MMU_PAGES _IO(KVMIO, 0x45) | 1444 | #define KVM_GET_NR_MMU_PAGES _IO(KVMIO, 0x45) |
| 1447 | #define KVM_SET_USER_MEMORY_REGION _IOW(KVMIO, 0x46, \ | 1445 | #define KVM_SET_USER_MEMORY_REGION _IOW(KVMIO, 0x46, \ |
| @@ -53,14 +53,6 @@ · 52 unmodified lines | |||
| 53 | /* Architectural interrupt line count. */ | 53 | /* Architectural interrupt line count. */ |
| 54 | #define KVM_NR_INTERRUPTS 256 | 54 | #define KVM_NR_INTERRUPTS 256 |
| 55 | 55 | ||
| 56 | struct kvm_memory_alias { | ||
| 57 | __u32 slot; /* this has a different namespace than memory slots */ | ||
| 58 | __u32 flags; | ||
| 59 | __u64 guest_phys_addr; | ||
| 60 | __u64 memory_size; | ||
| 61 | __u64 target_phys_addr; | ||
| 62 | }; | ||
| 63 | |||
| 64 | /* for KVM_GET_IRQCHIP and KVM_SET_IRQCHIP */ | 56 | /* for KVM_GET_IRQCHIP and KVM_SET_IRQCHIP */ |
| 65 | struct kvm_pic_state { | 57 | struct kvm_pic_state { |
| 66 | __u8 last_irr; /* edge detection */ | 58 | __u8 last_irr; /* edge detection */ |
| @@ -1435,8 +1435,6 @@ struct kvm_vfio_spapr_tce { · 1434 unmodified lines | |||
| 1435 | */ | 1435 | */ |
| 1436 | #define KVM_CREATE_VCPU _IO(KVMIO, 0x41) | 1436 | #define KVM_CREATE_VCPU _IO(KVMIO, 0x41) |
| 1437 | #define KVM_GET_DIRTY_LOG _IOW(KVMIO, 0x42, struct kvm_dirty_log) | 1437 | #define KVM_GET_DIRTY_LOG _IOW(KVMIO, 0x42, struct kvm_dirty_log) |
| 1438 | /* KVM_SET_MEMORY_ALIAS is obsolete: */ | ||
| 1439 | #define KVM_SET_MEMORY_ALIAS _IOW(KVMIO, 0x43, struct kvm_memory_alias) | ||
| 1440 | #define KVM_SET_NR_MMU_PAGES _IO(KVMIO, 0x44) | 1438 | #define KVM_SET_NR_MMU_PAGES _IO(KVMIO, 0x44) |
| 1441 | #define KVM_GET_NR_MMU_PAGES _IO(KVMIO, 0x45) | 1439 | #define KVM_GET_NR_MMU_PAGES _IO(KVMIO, 0x45) |
| 1442 | #define KVM_SET_USER_MEMORY_REGION _IOW(KVMIO, 0x46, \ | 1440 | #define KVM_SET_USER_MEMORY_REGION _IOW(KVMIO, 0x46, \ |