From nobody Sat Oct 25 09:07:52 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1520342982590278.84470683581947; Tue, 6 Mar 2018 05:29:42 -0800 (PST) Received: from localhost ([::1]:55746 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1etCev-0006j4-7E for importer@patchew.org; Tue, 06 Mar 2018 08:29:37 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47990) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1etCVN-0004lX-28 for qemu-devel@nongnu.org; Tue, 06 Mar 2018 08:19:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1etCVL-0006Dg-HO for qemu-devel@nongnu.org; Tue, 06 Mar 2018 08:19:45 -0500 Received: from mail-wr0-x241.google.com ([2a00:1450:400c:c0c::241]:34163) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1etCVL-0006D3-AK for qemu-devel@nongnu.org; Tue, 06 Mar 2018 08:19:43 -0500 Received: by mail-wr0-x241.google.com with SMTP id o8so9403293wra.1 for ; Tue, 06 Mar 2018 05:19:43 -0800 (PST) Received: from 640k.lan (94-36-191-219.adsl-ull.clienti.tiscali.it. [94.36.191.219]) by smtp.gmail.com with ESMTPSA id l38sm25652538wrc.96.2018.03.06.05.19.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Mar 2018 05:19:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=KQ5qMhC3TVUn85ynEE/lo8rHBM6IWExpez/snF+3xQM=; b=SK4bIarhUlFeIhnSY26LBUl/H4e059xvillCJKtQUrk3ywE4pHlLY+Iw7x8DlfD9Jt RRnHS8BxsavltQB/cXMziGDYVDgXvL4RY2H6BoUDetMcnJZA5FuCJoM62TJVRG6DaLGS 2za7Sv4Rck/UMtE84N4vZZmiK5Twc3J6XQu9czzVSp0f3YQvDxSqRh0juPWhJCN4tTip aCBfNu6U1UoSv+IbaQHMhNtlC3thVudnZGHPMPwd5TzrzBHOXDO+2bPaD2XFMhsnFWYY RrOZrA8zMHZUSDogIkfHtDmTUtROqh1S9/Qpn+m6KRw8WWylT2QI6heAZOznfmGu7WNi PUhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=KQ5qMhC3TVUn85ynEE/lo8rHBM6IWExpez/snF+3xQM=; b=rCMu4mJGLn4ZPHREaof9Yp7LbxvxPxyJntSYQWEOhmo02COnDFYij5J9OVOx6VuDIr AtBbayt9fgMcM6BVRH7SmJp3pTD3Cj9x2LsiNMqRK44ZdAFy04EVeAwu1jELeVDknovM y8MkJi1qUy7wkEjATU3tviLSunFV93ghwva6WHuPJvZC9Y6/ysQG3gpy2jzUaGueldqs 3KVi7ja/Xr/CxUbGPsZRRBlKi8aJf+aqZg7JmqtuTN2Cn7rqrhqqSHJPjknan8viUUUp 4WO3hplyW8WJBvPui3C5y7EZ9NGzCYnoiS+G+h0c2ufrf7qXrnmk/GNCL7xkjZ8hgeUI jKCw== X-Gm-Message-State: APf1xPDhptYl9UJ9tbhQT8IEqjKD4eSNO3glE/B2ML7vcq1Ky+gu4EVf SjnxosyOrwYEO1GFYTGCzshVNuMt X-Google-Smtp-Source: AG47ELstCNjLDKWx3LYv683sTybJ8C6c6kGHZZ9k/wmTYHc+n2hh6rH2eJxHSO+1u/mhjc6Ygi6TFA== X-Received: by 10.223.166.135 with SMTP id t7mr15318671wrc.260.1520342381945; Tue, 06 Mar 2018 05:19:41 -0800 (PST) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Tue, 6 Mar 2018 14:19:03 +0100 Message-Id: <1520342370-123606-8-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1520342370-123606-1-git-send-email-pbonzini@redhat.com> References: <1520342370-123606-1-git-send-email-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::241 Subject: [Qemu-devel] [PULL 07/34] Document --rtc-td-hack, --localtime and --startdate as deprecated X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Huth Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Thomas Huth These options have been marked in a comment in qemu-options.hx as deprecated in 2009 already (see commit 1ed2fc1fa35fadc0d6), but we never informed the users about these deprecations. Let's catch up on that omission now. Signed-off-by: Thomas Huth Message-Id: <1519138892-12836-1-git-send-email-thuth@redhat.com> [Fix messages. - Paolo] Signed-off-by: Paolo Bonzini --- qemu-doc.texi | 16 +++++++++++----- vl.c | 5 +++++ 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/qemu-doc.texi b/qemu-doc.texi index fb6fac5..589519a 100644 --- a/qemu-doc.texi +++ b/qemu-doc.texi @@ -2723,12 +2723,18 @@ filesystem test suite. Also it requires the CAP_DAC= _READ_SEARCH capability, which is not the recommended way to run QEMU. This backend should not be used and it will be removed with no replacement. =20 -@subsection -no-frame (since 2.12.0) +@subsection -rtc-td-hack (since 2.12.0) =20 -The ``-no-frame'' argument works with SDL 1.2 only. SDL 2.0 lacks -support for frameless windows, and the other user interfaces never -implemented this in the first place. So this will be removed together -with SDL 1.2 support. +The @code{-rtc-td-hack} option has been replaced by +@code{-rtc driftfix=3Dslew}. + +@subsection -localtime (since 2.12.0) + +The @code{-localtime} option has been replaced by @code{-rtc base=3Dlocalt= ime}. + +@subsection -startdate (since 2.12.0) + +The @code{-startdate} option has been replaced by @code{-rtc base=3D@var{d= ate}}. =20 @section qemu-img command line arguments =20 diff --git a/vl.c b/vl.c index 6e4f1a2..e648bed 100644 --- a/vl.c +++ b/vl.c @@ -3406,6 +3406,8 @@ int main(int argc, char **argv, char **envp) break; case QEMU_OPTION_localtime: rtc_utc =3D 0; + warn_report("This option is deprecated, " + "use '-rtc base=3Dlocaltime' instead."); break; case QEMU_OPTION_vga: vga_model =3D optarg; @@ -3665,6 +3667,8 @@ int main(int argc, char **argv, char **envp) }; =20 qdev_prop_register_global(&slew_lost_ticks); + warn_report("This option is deprecated, " + "use '-rtc driftfix=3Dslew' instead."); break; } case QEMU_OPTION_acpitable: @@ -3866,6 +3870,7 @@ int main(int argc, char **argv, char **envp) */ break; case QEMU_OPTION_startdate: + warn_report("This option is deprecated, use '-rtc base=3D'= instead."); configure_rtc_date_offset(optarg, 1); break; case QEMU_OPTION_rtc: --=20 1.8.3.1