From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mukesh Rathor Subject: Re: [hybrid]: hang in update_wall_time Date: Tue, 20 Mar 2012 12:08:58 -0700 Message-ID: <20120320120858.29e56741@mantra.us.oracle.com> References: <20120319183009.7b7c251d@mantra.us.oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Stefano Stabellini Cc: "Xen-devel@lists.xensource.com" , Ian Campbell List-Id: xen-devel@lists.xenproject.org On Tue, 20 Mar 2012 12:39:24 +0000 Stefano Stabellini wrote: > stime_local_stamp is set to get_s_time() and get_s_time scales the tsc > value according to local_tsc_stamp and tsc_scale. You need to make > sure that these two parameters are correct for dom0 hybrid as well. > > Also I would keep an eye on arch.hvm_vcpu.stime_offset and > arch.hvm_vcpu.cache_tsc_offset that only play a role in hvm domains. > Maybe they are not set to correct values in your case? > > Give a look at hvm_set_guest_tsc and hvm_set_guest_time. You probably > need to initialize them on hybrid as well and make sure you take the > is_hvm_domain path in __update_vcpu_system_time. Hmm... I thought we decided we didn't want any HVM time paths for hybrid, but PV only. A bit confused now. I'll take a look at HVM time variables nevertheless. thanks, Mukesh