From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:48307) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sp16W-0002iT-Tw for qemu-devel@nongnu.org; Wed, 11 Jul 2012 13:53:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sp16W-0003MD-0V for qemu-devel@nongnu.org; Wed, 11 Jul 2012 13:53:36 -0400 Received: from mail-gh0-f173.google.com ([209.85.160.173]:56151) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sp16V-0003M7-SZ for qemu-devel@nongnu.org; Wed, 11 Jul 2012 13:53:35 -0400 Received: by ghrr14 with SMTP id r14so1607575ghr.4 for ; Wed, 11 Jul 2012 10:53:35 -0700 (PDT) From: Anthony Liguori In-Reply-To: <1340733111-9166-2-git-send-email-vianac@linux.vnet.ibm.com> References: <1340733111-9166-1-git-send-email-vianac@linux.vnet.ibm.com> <1340733111-9166-2-git-send-email-vianac@linux.vnet.ibm.com> Date: Wed, 11 Jul 2012 12:53:31 -0500 Message-ID: <87obnm2nhg.fsf@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v5 2/3] Force driftfix=none on previous machines List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?utf-8?Q?Cr=C3=ADstian?= Viana , QEMU Development ML Cc: Paolo Bonzini , Stefano Stabellini Cr=C3=ADstian Viana writes: > The current value for the -rtc driftfix option is 'none'. This patch > makes sure that the old machines configuration will work the same way > even after that option changes its default value. > > Signed-off-by: Cr=C3=ADstian Viana Reviewed-by: Anthony Liguori Regards, Anthony Liguori > --- > hw/pc_piix.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/hw/pc_piix.c b/hw/pc_piix.c > index eae258c..2658ec2 100644 > --- a/hw/pc_piix.c > +++ b/hw/pc_piix.c > @@ -379,6 +379,10 @@ static QEMUMachine pc_machine_v1_1 =3D { > .driver =3D TYPE_USB_DEVICE,\ > .property =3D "full-path",\ > .value =3D "no",\ > + },{\ > + .driver =3D "mc146818rtc",\ > + .property =3D "lost_tick_policy",\ > + .value =3D "discard",\ > } >=20=20 > static QEMUMachine pc_machine_v1_0 =3D { > --=20 > 1.7.9.5