From mboxrd@z Thu Jan 1 00:00:00 1970 From: Boris Ostrovsky Subject: Re: [PATCH v2 11/14] x86/hvm: Move saving/loading vcpu's TSC to common code Date: Mon, 7 Dec 2015 13:56:34 -0500 Message-ID: <5665D662.6010501@oracle.com> References: <1449435529-12989-1-git-send-email-haozhong.zhang@intel.com> <1449435529-12989-12-git-send-email-haozhong.zhang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1449435529-12989-12-git-send-email-haozhong.zhang@intel.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Haozhong Zhang , xen-devel@lists.xen.org Cc: Kevin Tian , Keir Fraser , Jan Beulich , Jun Nakajima , Andrew Cooper , Aravind Gopalakrishnan , Suravee Suthikulpanit List-Id: xen-devel@lists.xenproject.org On 12/06/2015 03:58 PM, Haozhong Zhang wrote: > Both VMX and SVM save/load vcpu's TSC when saving/loading vcpu's > context, so this patch moves saving/loading vcpu's TSC to the common > functions hvm_[save|load]_cpu_ctxt(). > > Signed-off-by: Haozhong Zhang > Acked-by: Jan Beulich > --- > xen/arch/x86/hvm/hvm.c | 4 ++++ > xen/arch/x86/hvm/svm/svm.c | 5 ----- > xen/arch/x86/hvm/vmx/vmx.c | 5 ----- > 3 files changed, 4 insertions(+), 10 deletions(-) Reviewed-by: Boris Ostrovsky