Received: by 10.223.176.46 with SMTP id f43csp462872wra; Fri, 26 Jan 2018 01:35:31 -0800 (PST) X-Google-Smtp-Source: AH8x225aXZNZk1ht8ArPJNxe1Q+XU+ha7fdkNQuo39Jp9IagkihVMdeq/OA9E1MoPYN9oNYA/vKu X-Received: by 2002:a17:902:5509:: with SMTP id f9-v6mr4413162pli.83.1516959331425; Fri, 26 Jan 2018 01:35:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516959331; cv=none; d=google.com; s=arc-20160816; b=wVaH6CVILlLaMXAvkfRwHncCBcP6oTAP0C6Ih9CGL5pZF+RwJdT3F1R58PDigrC2Yt Xq8Yl2R3GQm5xtp0PYsPmDA2fe3KJVrmvPGuJe0uxvdx4RwY67n5JFTWfQqzut+Ozn0Y 4bbY3MMagbDYul0xKISbSSWRMmgM/ot03WdpNzKSlBXsgC6YnT4cRtiJX0jwtAPf/Bk+ ng3JkPhuLWTCAvuJQPL9OvVlSa87ccx94BYgmnhSug36he1gYHvG1+en+p1+TAv5NQHQ RbLuShbYF2e4wm8VWyWJB/NCqyRK1cgETp1w5kfGG5cqdpC+gpwlXgXyppxexaMptM1a GdVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:arc-authentication-results; bh=fqZNsQSCOCxRHHm0ghnJlrP1rPoVy/zT95kzUQMRTLA=; b=VxBy3lkfZi1bWaIqcWSqzVS//bBs1OFuVUcPE9/K8gLGx3qTMYKq5fC7TyGOP6ijwQ S++KR3wDJ140siTg6+1rQFxWlAvw+axn7HIO6Cb0b6Qr03MpjUr5gdU61IqVxISNo0Eo +T6AMGOkA0aNHVPuKiLQ444pJf8PMe5BUcNeXq7AikBCnaX1TEKXqNq5j+PCf2q+ZAq2 mVfKtSdJcL79TMMk2wigL6TMGYr9M9yfOxzLlzk6abaDms4/+eXRzXuSvXUAhtN7Ew7X rLGHzfhl7sjk+EmSZmxfUUQ5WYtKQY/h7HD37L21Dx3qzphtBWVuAgAJpctAmB0BIcmD zDjQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h123si2797257pgc.417.2018.01.26.01.35.17; Fri, 26 Jan 2018 01:35:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752911AbeAZJed (ORCPT + 99 others); Fri, 26 Jan 2018 04:34:33 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:4705 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752828AbeAZJe2 (ORCPT ); Fri, 26 Jan 2018 04:34:28 -0500 Received: from DGGEMS414-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 975CE53FCA94A; Fri, 26 Jan 2018 17:34:14 +0800 (CST) Received: from localhost (10.177.246.209) by DGGEMS414-HUB.china.huawei.com (10.3.19.214) with Microsoft SMTP Server id 14.3.361.1; Fri, 26 Jan 2018 17:34:10 +0800 From: "Longpeng(Mike)" To: , CC: , , , , Subject: [PATCH] kvm: x86: remove efer_reload entry in kvm_vcpu_stat Date: Fri, 26 Jan 2018 17:34:08 +0800 Message-ID: <1516959248-67928-1-git-send-email-longpeng2@huawei.com> X-Mailer: git-send-email 1.8.4.msysgit.0 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.177.246.209] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The efer_reload is never used since commit 26bb0981b3ff ("KVM: VMX: Use shared msr infrastructure"), so remove it. Signed-off-by: Longpeng(Mike) --- 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