From patchwork Wed Jul 18 18:02:36 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [v6,2/3] Force driftfix=none on previous machines Date: Wed, 18 Jul 2012 08:02:36 -0000 From: =?utf-8?q?Cr=C3=ADstian_Viana?= X-Patchwork-Id: 171776 Message-Id: <1342634557-31296-2-git-send-email-vianac@linux.vnet.ibm.com> To: QEMU Development ML Cc: =?UTF-8?q?Cr=C3=ADstian=20Viana?= , Anthony Liguori 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 --- hw/pc_piix.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hw/pc_piix.c b/hw/pc_piix.c index 0c0096f..cac7b36 100644 --- a/hw/pc_piix.c +++ b/hw/pc_piix.c @@ -410,6 +410,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 = {