kvm: x86: Drop request_nmi from stats
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.
Signed-off-by Jan Kiszka <[email protected]>
---
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
@@ -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
@@ -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) },
Quoted 3 lines · Jan Kiszka
The stats entry
request_nmiis 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
Avi Kivity
AppliedQuoted 3 lines · Jan Kiszka
The stats entry
request_nmiis 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.