aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMarcelo Tosatti <mtosatti@redhat.com>2009-06-18 10:47:28 -0400
committerAvi Kivity <avi@redhat.com>2009-09-10 01:33:03 -0400
commit2023a29cbe34139afcea8f65f8aef78c325c5dc0 (patch)
tree142223b88f59710a366321a1b47b54b33ba8e19c /arch
parent46f43c6ee022c3aeb9686b104234b9f27fac03c2 (diff)
KVM: remove old KVMTRACE support code
Return EOPNOTSUPP for KVM_TRACE_ENABLE/PAUSE/DISABLE ioctls. Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/ia64/kvm/Kconfig3
-rw-r--r--arch/powerpc/kvm/Kconfig11
-rw-r--r--arch/powerpc/kvm/Makefile2
-rw-r--r--arch/s390/kvm/Kconfig3
-rw-r--r--arch/x86/kvm/Kconfig12
-rw-r--r--arch/x86/kvm/Makefile1
6 files changed, 0 insertions, 32 deletions
diff --git a/arch/ia64/kvm/Kconfig b/arch/ia64/kvm/Kconfig
index cbadd8a65233..ef3e7be29caf 100644
--- a/arch/ia64/kvm/Kconfig
+++ b/arch/ia64/kvm/Kconfig
@@ -47,9 +47,6 @@ config KVM_INTEL
47 Provides support for KVM on Itanium 2 processors equipped with the VT 47 Provides support for KVM on Itanium 2 processors equipped with the VT
48 extensions. 48 extensions.
49 49
50config KVM_TRACE
51 bool
52
53source drivers/virtio/Kconfig 50source drivers/virtio/Kconfig
54 51
55endif # VIRTUALIZATION 52endif # VIRTUALIZATION
diff --git a/arch/powerpc/kvm/Kconfig b/arch/powerpc/kvm/Kconfig
index 46019dccce1c..c29926846613 100644
--- a/arch/powerpc/kvm/Kconfig
+++ b/arch/powerpc/kvm/Kconfig
@@ -58,17 +58,6 @@ config KVM_E500
58 58
59 If unsure, say N. 59 If unsure, say N.
60 60
61config KVM_TRACE
62 bool "KVM trace support"
63 depends on KVM && MARKERS && SYSFS
64 select RELAY
65 select DEBUG_FS
66 default n
67 ---help---
68 This option allows reading a trace of kvm-related events through
69 relayfs. Note the ABI is not considered stable and will be
70 modified in future updates.
71
72source drivers/virtio/Kconfig 61source drivers/virtio/Kconfig
73 62
74endif # VIRTUALIZATION 63endif # VIRTUALIZATION
diff --git a/arch/powerpc/kvm/Makefile b/arch/powerpc/kvm/Makefile
index 4f407f2662f7..37655fe19f2f 100644
--- a/arch/powerpc/kvm/Makefile
+++ b/arch/powerpc/kvm/Makefile
@@ -8,8 +8,6 @@ EXTRA_CFLAGS += -Ivirt/kvm -Iarch/powerpc/kvm
8 8
9common-objs-y = $(addprefix ../../../virt/kvm/, kvm_main.o coalesced_mmio.o) 9common-objs-y = $(addprefix ../../../virt/kvm/, kvm_main.o coalesced_mmio.o)
10 10
11common-objs-$(CONFIG_KVM_TRACE) += $(addprefix ../../../virt/kvm/, kvm_trace.o)
12
13CFLAGS_44x_tlb.o := -I. 11CFLAGS_44x_tlb.o := -I.
14CFLAGS_e500_tlb.o := -I. 12CFLAGS_e500_tlb.o := -I.
15CFLAGS_emulate.o := -I. 13CFLAGS_emulate.o := -I.
diff --git a/arch/s390/kvm/Kconfig b/arch/s390/kvm/Kconfig
index ad75ce33be12..bf164fc21864 100644
--- a/arch/s390/kvm/Kconfig
+++ b/arch/s390/kvm/Kconfig
@@ -34,9 +34,6 @@ config KVM
34 34
35 If unsure, say N. 35 If unsure, say N.
36 36
37config KVM_TRACE
38 bool
39
40# OK, it's a little counter-intuitive to do this, but it puts it neatly under 37# OK, it's a little counter-intuitive to do this, but it puts it neatly under
41# the virtualization menu. 38# the virtualization menu.
42source drivers/virtio/Kconfig 39source drivers/virtio/Kconfig
diff --git a/arch/x86/kvm/Kconfig b/arch/x86/kvm/Kconfig
index 7fbedfd34d6c..b84e571f4175 100644
--- a/arch/x86/kvm/Kconfig
+++ b/arch/x86/kvm/Kconfig
@@ -62,18 +62,6 @@ config KVM_AMD
62 To compile this as a module, choose M here: the module 62 To compile this as a module, choose M here: the module
63 will be called kvm-amd. 63 will be called kvm-amd.
64 64
65config KVM_TRACE
66 bool "KVM trace support"
67 depends on KVM && SYSFS
68 select MARKERS
69 select RELAY
70 select DEBUG_FS
71 default n
72 ---help---
73 This option allows reading a trace of kvm-related events through
74 relayfs. Note the ABI is not considered stable and will be
75 modified in future updates.
76
77# OK, it's a little counter-intuitive to do this, but it puts it neatly under 65# OK, it's a little counter-intuitive to do this, but it puts it neatly under
78# the virtualization menu. 66# the virtualization menu.
79source drivers/lguest/Kconfig 67source drivers/lguest/Kconfig
diff --git a/arch/x86/kvm/Makefile b/arch/x86/kvm/Makefile
index 7c56850b82cb..afaaa7627d95 100644
--- a/arch/x86/kvm/Makefile
+++ b/arch/x86/kvm/Makefile
@@ -7,7 +7,6 @@ CFLAGS_vmx.o := -I.
7 7
8kvm-y += $(addprefix ../../../virt/kvm/, kvm_main.o ioapic.o \ 8kvm-y += $(addprefix ../../../virt/kvm/, kvm_main.o ioapic.o \
9 coalesced_mmio.o irq_comm.o eventfd.o) 9 coalesced_mmio.o irq_comm.o eventfd.o)
10kvm-$(CONFIG_KVM_TRACE) += $(addprefix ../../../virt/kvm/, kvm_trace.o)
11kvm-$(CONFIG_IOMMU_API) += $(addprefix ../../../virt/kvm/, iommu.o) 10kvm-$(CONFIG_IOMMU_API) += $(addprefix ../../../virt/kvm/, iommu.o)
12 11
13kvm-y += x86.o mmu.o x86_emulate.o i8259.o irq.o lapic.o \ 12kvm-y += x86.o mmu.o x86_emulate.o i8259.o irq.o lapic.o \