From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:59536) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rrwti-0002gE-9a for qemu-devel@nongnu.org; Mon, 30 Jan 2012 14:28:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rrwtg-0001QU-Ri for qemu-devel@nongnu.org; Mon, 30 Jan 2012 14:28:14 -0500 Received: from mail-pz0-f45.google.com ([209.85.210.45]:51975) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rrwtg-0001QO-MV for qemu-devel@nongnu.org; Mon, 30 Jan 2012 14:28:12 -0500 Received: by dajr28 with SMTP id r28so4971177daj.4 for ; Mon, 30 Jan 2012 11:28:11 -0800 (PST) Message-ID: <4F26EF47.9090108@codemonkey.ws> Date: Mon, 30 Jan 2012 13:28:07 -0600 From: Anthony Liguori MIME-Version: 1.0 References: <1327667215-5411-2-git-send-email-stefano.stabellini@eu.citrix.com> <4F268632.8040801@redhat.com> In-Reply-To: <4F268632.8040801@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 2/5] xen: disable rtc_clock List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: "xen-devel@lists.xensource.com" , "qemu-devel@nongnu.org" , Stefano Stabellini On 01/30/2012 05:59 AM, Paolo Bonzini wrote: > On 01/30/2012 12:56 PM, Stefano Stabellini wrote: >>> > Depending on "-rtc clock=vm" or "-rtc clock=rt", this may not be true. >> >> Good point. >> I should check for rtc_clock == host_clock. >> >>> > Why do you need to instantiate an RTC at all? >> I don't, in fact in previous versions of this patch series I tried to do >> that but it is difficult and makes the common code worse, so I followed >> Anthony's suggestion of just disabling the rtc_clock. > > I see. It shouldn't surprise you that I completely disagree with Anthony on > this. :) Give me some credit at least... The original patches didn't disable the RTC, it introduced a half-neutered Xen specific RTC. My original suggestion (which I still think is the best approach) is to change the RTC emulation to not use a second timer at all. Regards, Anthony Liguori > Paolo >