Skip to contentSkip to conversation

kvm: x86: Drop request_nmi from stats

PATCH Applied Jan Kiszka 2 participants 3 messages Apr 20, 2009 – May 4, 2009

Subsystems (3)
lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH 1/1 kvm: x86: Drop request_nmi from stats

The stats entry request_nmi is no longer used as the related user space interface was dropped. So clean it up.

---

 arch/x86/include/asm/kvm_host.h |    1 -
 arch/x86/kvm/x86.c              |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)
arch/x86/include/asm/kvm_host.h +0 -1
index 3fc4623..909f094 100644
@@ -445,7 +445,6 @@ struct kvm_vcpu_stat {
 	u32 halt_exits;
 	u32 halt_wakeup;
 	u32 request_irq_exits;
-	u32 request_nmi_exits;
 	u32 irq_exits;
 	u32 host_state_reload;
 	u32 efer_reload;
arch/x86/kvm/x86.c +0 -1
index 95892f7..5519dd1 100644
@@ -91,7 +91,6 @@ struct kvm_stats_debugfs_item debugfs_entries[] = {
 	{ "halt_wakeup", VCPU_STAT(halt_wakeup) },
 	{ "hypercalls", VCPU_STAT(hypercalls) },
 	{ "request_irq", VCPU_STAT(request_irq_exits) },
-	{ "request_nmi", VCPU_STAT(request_nmi_exits) },
 	{ "irq_exits", VCPU_STAT(irq_exits) },
 	{ "host_state_reload", VCPU_STAT(host_state_reload) },
 	{ "efer_reload", VCPU_STAT(efer_reload) },
#1 lore raw
Quoted 3 lines · Jan Kiszka

The stats entry request_nmi is no longer used as the related user space interface was dropped. So clean it up.

Will apply after Gleb's megapatchset goes in, don't want to risk gratuitous conflicts.

Signature · 1 line
error compiling committee.c: too many arguments to function
Applied
#2 lore raw
In reply to Jan Kiszka
Quoted 3 lines · Jan Kiszka

The stats entry request_nmi is no longer used as the related user space interface was dropped. So clean it up.

Applied, thanks.

Signature · 1 line
Do not meddle in the internals of kernels, for they are subtle and quick to panic.