From mboxrd@z Thu Jan 1 00:00:00 1970 From: Boris Ostrovsky Subject: Re: [PATCH v2 05/14] x86/hvm: Scale host TSC when setting/getting guest TSC Date: Mon, 7 Dec 2015 12:54:41 -0500 Message-ID: <5665C7E1.5080101@oracle.com> References: <1449435529-12989-1-git-send-email-haozhong.zhang@intel.com> <1449435529-12989-6-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-6-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: > The existing hvm_[set|get]_guest_tsc_fixed() calculate the guest TSC by > adding the TSC offset to the host TSC. When the TSC scaling is enabled, > the host TSC should be scaled first. This patch adds the scaling logic > to those two functions. > > Signed-off-by: Haozhong Zhang Reviewed-by: Boris Ostrovsky