kvm: x86: remove efer_reload entry in kvm_vcpu_stat

"Linux Kernel Mailing List" <[email protected]> Sat, 10 Feb 2018 22:00:24 +0000 (UTC)
Newsgroups gmane.linux.kernel.commits.head
Message-ID <[email protected]>
Web:        https://git.kernel.org/torvalds/c/87cedc6be55954c6efd6eca2e694132513f65a2a
Commit:     87cedc6be55954c6efd6eca2e694132513f65a2a
Parent:     806793f5f76eb9c000ed05e307a8f7e9450b3291
Refname:    refs/heads/master
Author:     Longpeng(Mike) <[email protected]>
AuthorDate: Fri Jan 26 17:34:08 2018 +0800
Committer:  Radim Krčmář <[email protected]>
CommitDate: Wed Jan 31 18:25:35 2018 +0100

    kvm: x86: remove efer_reload entry in kvm_vcpu_stat
    
    The efer_reload is never used since
    commit 26bb0981b3ff ("KVM: VMX: Use shared msr infrastructure"),
    so remove it.
    
    Signed-off-by: Longpeng(Mike) <[email protected]>
    Signed-off-by: Radim Krčmář <[email protected]>
---
 arch/x86/include/asm/kvm_host.h | 1 -
 arch/x86/kvm/x86.c              | 1 -
 2 files changed, 2 deletions(-)

diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
index ea7e40e9c1f0..dd6f57a54a26 100644
--- a/arch/x86/include/asm/kvm_host.h
+++ b/arch/x86/include/asm/kvm_host.h
@@ -895,7 +895,6 @@ struct kvm_vcpu_stat {
 	u64 request_irq_exits;
 	u64 irq_exits;
 	u64 host_state_reload;
-	u64 efer_reload;
 	u64 fpu_reload;
 	u64 insn_emulation;
 	u64 insn_emulation_fail;
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index 01571102b50c..c13cd14c4780 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -177,7 +177,6 @@ struct kvm_stats_debugfs_item debugfs_entries[] = {
 	{ "request_irq", VCPU_STAT(request_irq_exits) },
 	{ "irq_exits", VCPU_STAT(irq_exits) },
 	{ "host_state_reload", VCPU_STAT(host_state_reload) },
-	{ "efer_reload", VCPU_STAT(efer_reload) },
 	{ "fpu_reload", VCPU_STAT(fpu_reload) },
 	{ "insn_emulation", VCPU_STAT(insn_emulation) },
 	{ "insn_emulation_fail", VCPU_STAT(insn_emulation_fail) },
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html