All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kvm: x86: remove efer_reload entry in kvm_vcpu_stat
@ 2018-01-26  9:34 Longpeng(Mike)
  2018-01-30 14:06 ` Radim Krčmář
  0 siblings, 1 reply; 2+ messages in thread
From: Longpeng(Mike) @ 2018-01-26  9:34 UTC (permalink / raw)
  To: rkrcmar, pbonzini
  Cc: longpeng2, linux-kernel, kvm, arei.gonglei, weidong.huang

The efer_reload is never used since
commit 26bb0981b3ff ("KVM: VMX: Use shared msr infrastructure"),
so remove it.

Signed-off-by: Longpeng(Mike) <longpeng2@huawei.com>
---
 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 5167984..b24b34d 100644
--- a/arch/x86/include/asm/kvm_host.h
+++ b/arch/x86/include/asm/kvm_host.h
@@ -883,7 +883,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 c53298d..6573526 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) },
-- 
1.8.3.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] kvm: x86: remove efer_reload entry in kvm_vcpu_stat
  2018-01-26  9:34 [PATCH] kvm: x86: remove efer_reload entry in kvm_vcpu_stat Longpeng(Mike)
@ 2018-01-30 14:06 ` Radim Krčmář
  0 siblings, 0 replies; 2+ messages in thread
From: Radim Krčmář @ 2018-01-30 14:06 UTC (permalink / raw)
  To: Longpeng(Mike); +Cc: pbonzini, linux-kernel, kvm, arei.gonglei, weidong.huang

2018-01-26 17:34+0800, Longpeng(Mike):
> The efer_reload is never used since
> commit 26bb0981b3ff ("KVM: VMX: Use shared msr infrastructure"),
> so remove it.
> 
> Signed-off-by: Longpeng(Mike) <longpeng2@huawei.com>
> ---

Queued, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-01-30 14:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-26  9:34 [PATCH] kvm: x86: remove efer_reload entry in kvm_vcpu_stat Longpeng(Mike)
2018-01-30 14:06 ` Radim Krčmář

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.