Commit 66a9221d authored by Javier Martinez Canillas's avatar Javier Martinez Canillas Committed by Paolo Bonzini

KVM: Delete all references to removed KVM_SET_MEMORY_ALIAS ioctl

The documentation says that the ioctl has been deprecated, but it has been
actually removed and the remaining references are just left overs.
Suggested-by: default avatarSean Christopherson <seanjc@google.com>
Signed-off-by: default avatarJavier Martinez Canillas <javierm@redhat.com>
Message-Id: <20221202105011.185147-3-javierm@redhat.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 61e15f87
...@@ -356,17 +356,6 @@ see the description of the capability. ...@@ -356,17 +356,6 @@ see the description of the capability.
Note that the Xen shared info page, if configured, shall always be assumed Note that the Xen shared info page, if configured, shall always be assumed
to be dirty. KVM will not explicitly mark it such. to be dirty. KVM will not explicitly mark it such.
4.9 KVM_SET_MEMORY_ALIAS
------------------------
:Capability: basic
:Architectures: x86
:Type: vm ioctl
:Parameters: struct kvm_memory_alias (in)
:Returns: 0 (success), -1 (error)
This ioctl is obsolete and has been removed.
4.10 KVM_RUN 4.10 KVM_RUN
------------ ------------
......
...@@ -53,14 +53,6 @@ ...@@ -53,14 +53,6 @@
/* Architectural interrupt line count. */ /* Architectural interrupt line count. */
#define KVM_NR_INTERRUPTS 256 #define KVM_NR_INTERRUPTS 256
struct kvm_memory_alias {
__u32 slot; /* this has a different namespace than memory slots */
__u32 flags;
__u64 guest_phys_addr;
__u64 memory_size;
__u64 target_phys_addr;
};
/* for KVM_GET_IRQCHIP and KVM_SET_IRQCHIP */ /* for KVM_GET_IRQCHIP and KVM_SET_IRQCHIP */
struct kvm_pic_state { struct kvm_pic_state {
__u8 last_irr; /* edge detection */ __u8 last_irr; /* edge detection */
......
...@@ -1440,8 +1440,6 @@ struct kvm_vfio_spapr_tce { ...@@ -1440,8 +1440,6 @@ struct kvm_vfio_spapr_tce {
*/ */
#define KVM_CREATE_VCPU _IO(KVMIO, 0x41) #define KVM_CREATE_VCPU _IO(KVMIO, 0x41)
#define KVM_GET_DIRTY_LOG _IOW(KVMIO, 0x42, struct kvm_dirty_log) #define KVM_GET_DIRTY_LOG _IOW(KVMIO, 0x42, struct kvm_dirty_log)
/* KVM_SET_MEMORY_ALIAS is obsolete: */
#define KVM_SET_MEMORY_ALIAS _IOW(KVMIO, 0x43, struct kvm_memory_alias)
#define KVM_SET_NR_MMU_PAGES _IO(KVMIO, 0x44) #define KVM_SET_NR_MMU_PAGES _IO(KVMIO, 0x44)
#define KVM_GET_NR_MMU_PAGES _IO(KVMIO, 0x45) #define KVM_GET_NR_MMU_PAGES _IO(KVMIO, 0x45)
#define KVM_SET_USER_MEMORY_REGION _IOW(KVMIO, 0x46, \ #define KVM_SET_USER_MEMORY_REGION _IOW(KVMIO, 0x46, \
......
...@@ -53,14 +53,6 @@ ...@@ -53,14 +53,6 @@
/* Architectural interrupt line count. */ /* Architectural interrupt line count. */
#define KVM_NR_INTERRUPTS 256 #define KVM_NR_INTERRUPTS 256
struct kvm_memory_alias {
__u32 slot; /* this has a different namespace than memory slots */
__u32 flags;
__u64 guest_phys_addr;
__u64 memory_size;
__u64 target_phys_addr;
};
/* for KVM_GET_IRQCHIP and KVM_SET_IRQCHIP */ /* for KVM_GET_IRQCHIP and KVM_SET_IRQCHIP */
struct kvm_pic_state { struct kvm_pic_state {
__u8 last_irr; /* edge detection */ __u8 last_irr; /* edge detection */
......
...@@ -1435,8 +1435,6 @@ struct kvm_vfio_spapr_tce { ...@@ -1435,8 +1435,6 @@ struct kvm_vfio_spapr_tce {
*/ */
#define KVM_CREATE_VCPU _IO(KVMIO, 0x41) #define KVM_CREATE_VCPU _IO(KVMIO, 0x41)
#define KVM_GET_DIRTY_LOG _IOW(KVMIO, 0x42, struct kvm_dirty_log) #define KVM_GET_DIRTY_LOG _IOW(KVMIO, 0x42, struct kvm_dirty_log)
/* KVM_SET_MEMORY_ALIAS is obsolete: */
#define KVM_SET_MEMORY_ALIAS _IOW(KVMIO, 0x43, struct kvm_memory_alias)
#define KVM_SET_NR_MMU_PAGES _IO(KVMIO, 0x44) #define KVM_SET_NR_MMU_PAGES _IO(KVMIO, 0x44)
#define KVM_GET_NR_MMU_PAGES _IO(KVMIO, 0x45) #define KVM_GET_NR_MMU_PAGES _IO(KVMIO, 0x45)
#define KVM_SET_USER_MEMORY_REGION _IOW(KVMIO, 0x46, \ #define KVM_SET_USER_MEMORY_REGION _IOW(KVMIO, 0x46, \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment