Skip to contentSkip to conversation

KVM: uapi: remove dead #defines

PATCH New Paolo Bonzini 1 participant 1 message Oct 12

Subsystems (3)
lore
Share & tools
lore

Paolo Bonzini

author maintainer
#0 lore raw

PATCH 1/1 KVM: uapi: remove dead #defines

These #defines were used for the old KVM-specific device assignment and have had no in-tree use for more than 10 years. Drop them.

---
 arch/x86/include/uapi/asm/kvm.h       | 2 --
 tools/arch/x86/include/uapi/asm/kvm.h | 2 --
 2 files changed, 4 deletions(-)
arch/x86/include/uapi/asm/kvm.h +0 -2
index 56d3fd7eab44..18c3ab8b0764 100644
@@ -45,9 +45,7 @@
 #define __KVM_HAVE_PIT
 #define __KVM_HAVE_IOAPIC
 #define __KVM_HAVE_IRQ_LINE
-#define __KVM_HAVE_MSI
 #define __KVM_HAVE_USER_NMI
-#define __KVM_HAVE_MSIX
 #define __KVM_HAVE_MCE
 #define __KVM_HAVE_PIT_STATE2
 #define __KVM_HAVE_XEN_HVM
tools/arch/x86/include/uapi/asm/kvm.h +0 -2
index 1585ec804066..00ce265391e1 100644
@@ -45,9 +45,7 @@
 #define __KVM_HAVE_PIT
 #define __KVM_HAVE_IOAPIC
 #define __KVM_HAVE_IRQ_LINE
-#define __KVM_HAVE_MSI
 #define __KVM_HAVE_USER_NMI
-#define __KVM_HAVE_MSIX
 #define __KVM_HAVE_MCE
 #define __KVM_HAVE_PIT_STATE2
 #define __KVM_HAVE_XEN_HVM
Signature · 1 line
2.55.0