From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=38000 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ORRHy-0003a7-8A for qemu-devel@nongnu.org; Wed, 23 Jun 2010 10:50:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ORRHx-00035l-0U for qemu-devel@nongnu.org; Wed, 23 Jun 2010 10:50:54 -0400 Received: from mx1.redhat.com ([209.132.183.28]:19572) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ORRHw-00035U-Ph for qemu-devel@nongnu.org; Wed, 23 Jun 2010 10:50:52 -0400 Message-ID: <4C221F48.7010403@redhat.com> Date: Wed, 23 Jun 2010 16:50:48 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH v2] rtc: Remove TARGET_I386 from qemu-config.c, enables driftfix List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Amit Shah Cc: Jan Kiszka , qemu list , Gleb Natapov , Juan Quintela On 06/23/2010 04:44 PM, Amit Shah wrote: > qemu-config.c doesn't contain any target-specific code, and the > TARGET_I386 conditional code didn't get compiled as a result. Removing > this enables the driftfix parameter for rtc. > > Signed-off-by: Amit Shah > --- > qemu-config.c | 2 -- > 1 files changed, 0 insertions(+), 2 deletions(-) > > diff --git a/qemu-config.c b/qemu-config.c > index 95abe61..730ffd9 100644 > --- a/qemu-config.c > +++ b/qemu-config.c > @@ -247,11 +247,9 @@ QemuOptsList qemu_rtc_opts = { > },{ > .name = "clock", > .type = QEMU_OPT_STRING, > -#ifdef TARGET_I386 > },{ > .name = "driftfix", > .type = QEMU_OPT_STRING, > -#endif > }, > { /* end if list */ } > }, Acked-by: Paolo Bonzini Paolo