From mboxrd@z Thu Jan 1 00:00:00 1970 From: Boris Ostrovsky Subject: Re: [PATCH v3 01/13] x86/time.c: Use correct guest TSC frequency in tsc_set_info() Date: Mon, 4 Jan 2016 12:44:47 -0500 Message-ID: <568AAF8F.5050507@oracle.com> References: <1451531020-29964-1-git-send-email-haozhong.zhang@intel.com> <1451531020-29964-2-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: <1451531020-29964-2-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, Jan Beulich , Kevin Tian Cc: Jun Nakajima , Andrew Cooper , Keir Fraser , Aravind Gopalakrishnan , Suravee Suthikulpanit List-Id: xen-devel@lists.xenproject.org On 12/30/2015 10:03 PM, Haozhong Zhang wrote: > When TSC_MODE_PVRDTSCP is used for a HVM container and TSC scaling is > available, use the non-zero value of argument gtsc_khz of tsc_set_info() > as the guest TSC frequency rather than using the host TSC > frequency. Otherwise, TSC scaling will not be able get the correct ratio > between the host and guest TSC frequencies. > > Signed-off-by: Haozhong Zhang Reviewed-by: Boris Ostrovsky