From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: guest gettimeofday behavior Date: Sun, 28 Jun 2009 13:45:55 +0300 Message-ID: <4A4749E3.2070407@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Eran Rom Return-path: Received: from mx2.redhat.com ([66.187.237.31]:46064 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751406AbZF1Ko2 (ORCPT ); Sun, 28 Jun 2009 06:44:28 -0400 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On 06/25/2009 04:25 PM, Eran Rom wrote: > Hi All, > Am a newbie (to kvm, linux kernel, git, etc.) so apologize in advance for > missing/inaccurate info. > I am experiencing inconsistent behavior of guest gettimeofday, described below. > I have seen prior reference to the problem, however, it was not clear whether > the issue was solved or not and where. > > Below is a description of my setup and the behavior I see. > Another question is whether oprofile with timer mode would suffer from the same > problem? > Probably, yes. > Otherwise I saw that kvm-85 has "generic performance counter msr handling", does > this mean that oprofile can be executed without the timer mode? > No, we don't really emulate the performance counters, only when they're disabled. > Setup: > Guest 32 bit ubuntu with 2.6.27 kernel > Host 64 bit Suse 10.2 with 2.6.27 kernel > What's the guest clocksource? (/sys/.../current_clocksource)? > 1 quadcore Intel Xeon CPU > I am not sure about the kvm userspace code version. > Used git to create a repository, and then did > git checkout kvm-updates-2.6.27 (is that fixed in time?) > That's really old. Just use qemu-kvm.git. -- error compiling committee.c: too many arguments to function