diff mbox

kvm: x86: Drop request_nmi from stats

Message ID 49EC9E5F.9020206@siemens.com (mailing list archive)
State New, archived
Headers show

Commit Message

Jan Kiszka April 20, 2009, 4:10 p.m. UTC
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 <jan.kiszka@siemens.com>
---

 arch/x86/include/asm/kvm_host.h |    1 -
 arch/x86/kvm/x86.c              |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Avi Kivity April 21, 2009, 2:58 p.m. UTC | #1
Jan Kiszka wrote:
> 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.
Avi Kivity May 4, 2009, 12:25 p.m. UTC | #2
Jan Kiszka wrote:
> The stats entry request_nmi is no longer used as the related user space
> interface was dropped. So clean it up.
>   

Applied, thanks.
diff mbox

Patch

diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
index 3fc4623..909f094 100644
--- a/arch/x86/include/asm/kvm_host.h
+++ b/arch/x86/include/asm/kvm_host.h
@@ -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;
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index 95892f7..5519dd1 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -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) },