History

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.

Javier Martinez Canillas committed 3 years ago

Commit 66a92211 parent 61e15f85 files · +0 −31Browse files

Unified · Split

5 files
  1. Documentation/virt/kvm/api.rst +0 −11
  2. arch/x86/include/uapi/asm/kvm.h +0 −8
  3. include/uapi/linux/kvm.h +0 −2
  4. tools/arch/x86/include/uapi/asm/kvm.h +0 −8
  5. tools/include/uapi/linux/kvm.h +0 −2
Documentation/virt/kvm/api.rst+0−11
@@ -356,17 +356,6 @@ see the description of the capability. · 355 unmodified lines
356Note that the Xen shared info page, if configured, shall always be assumed356Note that the Xen shared info page, if configured, shall always be assumed
357to be dirty. KVM will not explicitly mark it such.357to be dirty. KVM will not explicitly mark it such.
358 358
3594.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
368This ioctl is obsolete and has been removed.
369
370 359
3714.10 KVM_RUN3604.10 KVM_RUN
372------------361------------
arch/x86/include/uapi/asm/kvm.h+0−8
@@ -53,14 +53,6 @@ · 52 unmodified lines
53/* Architectural interrupt line count. */53/* Architectural interrupt line count. */
54#define KVM_NR_INTERRUPTS 25654#define KVM_NR_INTERRUPTS 256
55 55
56struct 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 */
65struct kvm_pic_state {57struct kvm_pic_state {
66 __u8 last_irr; /* edge detection */58 __u8 last_irr; /* edge detection */
include/uapi/linux/kvm.h+0−2
@@ -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, \
tools/arch/x86/include/uapi/asm/kvm.h+0−8
@@ -53,14 +53,6 @@ · 52 unmodified lines
53/* Architectural interrupt line count. */53/* Architectural interrupt line count. */
54#define KVM_NR_INTERRUPTS 25654#define KVM_NR_INTERRUPTS 256
55 55
56struct 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 */
65struct kvm_pic_state {57struct kvm_pic_state {
66 __u8 last_irr; /* edge detection */58 __u8 last_irr; /* edge detection */
tools/include/uapi/linux/kvm.h+0−2
@@ -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, \

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t