From patchwork Tue Jun 26 17:51:50 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Cr=C3=ADstian_Viana?= X-Patchwork-Id: 167433 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id A229BB6FA2 for ; Wed, 27 Jun 2012 03:52:43 +1000 (EST) Received: from localhost ([::1]:38602 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjZwP-0006Li-J5 for incoming@patchwork.ozlabs.org; Tue, 26 Jun 2012 13:52:41 -0400 Received: from eggs.gnu.org ([208.118.235.92]:44613) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjZwI-0006E9-0u for qemu-devel@nongnu.org; Tue, 26 Jun 2012 13:52:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SjZwG-0007Pu-CP for qemu-devel@nongnu.org; Tue, 26 Jun 2012 13:52:33 -0400 Received: from e24smtp03.br.ibm.com ([32.104.18.24]:55547) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjZwG-0007FE-0g for qemu-devel@nongnu.org; Tue, 26 Jun 2012 13:52:32 -0400 Received: from /spool/local by e24smtp03.br.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 26 Jun 2012 14:52:05 -0300 Received: from d24dlp01.br.ibm.com (9.18.248.204) by e24smtp03.br.ibm.com (10.172.0.139) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 26 Jun 2012 14:52:03 -0300 Received: from d24relay02.br.ibm.com (d24relay02.br.ibm.com [9.13.184.26]) by d24dlp01.br.ibm.com (Postfix) with ESMTP id 86BCE3520050 for ; Tue, 26 Jun 2012 13:52:00 -0400 (EDT) Received: from d24av02.br.ibm.com (d24av02.br.ibm.com [9.8.31.93]) by d24relay02.br.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q5QHpMgB43515980 for ; Tue, 26 Jun 2012 14:51:22 -0300 Received: from d24av02.br.ibm.com (loopback [127.0.0.1]) by d24av02.br.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q5QHq0A7032744 for ; Tue, 26 Jun 2012 14:52:01 -0300 Received: from jellybean.br.ibm.com (jellybean.br.ibm.com [9.18.235.216] (may be forged)) by d24av02.br.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id q5QHq0WB032738; Tue, 26 Jun 2012 14:52:00 -0300 From: =?UTF-8?q?Cr=C3=ADstian=20Viana?= To: QEMU Development ML Date: Tue, 26 Jun 2012 14:51:50 -0300 Message-Id: <1340733111-9166-2-git-send-email-vianac@linux.vnet.ibm.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1340733111-9166-1-git-send-email-vianac@linux.vnet.ibm.com> References: <1340733111-9166-1-git-send-email-vianac@linux.vnet.ibm.com> MIME-Version: 1.0 X-Content-Scanned: Fidelis XPS MAILER x-cbid: 12062617-9254-0000-0000-0000096C66FD X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 32.104.18.24 Cc: Paolo Bonzini , =?UTF-8?q?Cr=C3=ADstian=20Viana?= , Anthony Liguori , Stefano Stabellini Subject: [Qemu-devel] [PATCH v5 2/3] Force driftfix=none on previous machines X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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ístian Viana Reviewed-by: 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 = { .driver = TYPE_USB_DEVICE,\ .property = "full-path",\ .value = "no",\ + },{\ + .driver = "mc146818rtc",\ + .property = "lost_tick_policy",\ + .value = "discard",\ } static QEMUMachine pc_machine_v1_0 = {