From nobody Thu Oct 30 15:33:06 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 1525819326502171.4273457343861; Tue, 8 May 2018 15:42:06 -0700 (PDT) Received: from localhost ([::1]:53656 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fGBJ7-0001t6-Or for importer@patchew.org; Tue, 08 May 2018 18:42:05 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41421) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fGAt9-0003A8-Uz for qemu-devel@nongnu.org; Tue, 08 May 2018 18:15:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fGAt8-0001WV-UQ for qemu-devel@nongnu.org; Tue, 08 May 2018 18:15:15 -0400 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]:35366) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fGAt8-0001WK-Mf for qemu-devel@nongnu.org; Tue, 08 May 2018 18:15:14 -0400 Received: by mail-wm0-x241.google.com with SMTP id o78-v6so24238531wmg.0 for ; Tue, 08 May 2018 15:15:14 -0700 (PDT) Received: from 640k.lan (dynamic-adsl-78-12-189-60.clienti.tiscali.it. [78.12.189.60]) by smtp.gmail.com with ESMTPSA id c15-v6sm14020129edr.78.2018.05.08.15.15.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 May 2018 15:15:12 -0700 (PDT) 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=Xu9dPqTLdAWKFTCiIdVynRFmjydXN63U9Ez4YGC8CIg=; b=lm4HDlQx4u0h3A45Ubg7mneI1ojvIPsDxXFxruGER9hz+KE7hlGb0QsqsyoSKFH5JQ 2YgeRpi+O9dEAjgu6rqsEUyJ6KdbPhYz5BP6IQaf1vMTqY38yH04kD0Ek92fii+xpH/6 w3oxA0O3MB4+0wjUsFhV35RW0GhqKVns7FaIKctyhefzqaAuIkGkv+ZRApjJU63miqrY LHa5IhQVcV/09bDlShpCi4lOiAords0RB6ZeuKXqsWOpYI/JXPtVMBXu4u981q9t0mKW ny8MbjQrzpvvXc2SEO0O+uwXqrteLfC0E5PHFuwRTYlq65+pphtPY6wesDqpmRc45Xwx UhNA== 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=Xu9dPqTLdAWKFTCiIdVynRFmjydXN63U9Ez4YGC8CIg=; b=fvVOEpoHiiEr1VDOAw4xG/gtUCuxeD0YUoGf2YvMHLWpmsaGZcCLCF8CM3RR5UqV8o AvM1X3Fhi96xrhT7R8I9a1N28d/fCOrHDPJKzsFhZKRF4v8vMAvcAFcXvTXtk2B0TkRn DIizd8frjTJVo8Cv5qRG7PkqS00iNRqCyKDIvwTwZWC5O15KyiZJRpWfjeslArxj64v6 V65HqYkD2Z2R8dCenCegq9dIr4aiMd76WTZt8bryxKsV6rcGn1sAM1UPnzm/cKDkxoXF a/PuMW2ISxvXgj/inlb+mLsptcl0qvtaaHqAc3mfmNi+XXZOf2+22bxNDa6CqMCwuH2r 6U5Q== X-Gm-Message-State: ALQs6tCj/72m0ZCqT+Mw9B35nn0mf5ExX5+yjxp/QsjLIbY/J95GI+Mb oWxlkQoTVH7GN/yLGzJcyDepFK3C X-Google-Smtp-Source: AB8JxZpL48YRHxGUuOn6wbP6p0zpJZGSgY//z86VsIrkHUCdYoZ3zfI7WRRPnJdB2aWbnUQxjzsk9g== X-Received: by 2002:a50:9581:: with SMTP id w1-v6mr56449248eda.33.1525817713468; Tue, 08 May 2018 15:15:13 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Wed, 9 May 2018 00:14:37 +0200 Message-Id: <1525817687-34620-21-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1525817687-34620-1-git-send-email-pbonzini@redhat.com> References: <1525817687-34620-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:c09::241 Subject: [Qemu-devel] [PULL 20/30] qemu-options: Remove deprecated -no-kvm-pit-reinjection 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 Deprecated since the beginning when it was added for compatibility with the ancient qemu-kvm fork of QEMU, and it even printed out the deprecation warning since right from the start (i.e. QEMU v1.3.0), so it's really time to remove this now. Reviewed-by: Markus Armbruster Signed-off-by: Thomas Huth Message-Id: <1525453270-23074-4-git-send-email-thuth@redhat.com> Signed-off-by: Paolo Bonzini --- qemu-doc.texi | 5 ----- qemu-options.hx | 4 ---- vl.c | 12 ------------ 3 files changed, 21 deletions(-) diff --git a/qemu-doc.texi b/qemu-doc.texi index 4add403..85a7a39 100644 --- a/qemu-doc.texi +++ b/qemu-doc.texi @@ -2786,11 +2786,6 @@ which is the default. =20 @section System emulator command line arguments =20 -@subsection -no-kvm-pit-reinjection (since 1.3.0) - -The ``-no-kvm-pit-reinjection'' argument is now a -synonym for setting ``-global kvm-pit.lost_tick_policy=3Ddiscard''. - @subsection -no-kvm-irqchip (since 1.3.0) =20 The ``-no-kvm-irqchip'' argument is now a synonym for diff --git a/qemu-options.hx b/qemu-options.hx index 50c906c..dfff698 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -3914,10 +3914,6 @@ ETEXI HXCOMM Deprecated by -machine accel=3Dtcg property DEF("no-kvm", 0, QEMU_OPTION_no_kvm, "", QEMU_ARCH_I386) =20 -HXCOMM Deprecated by kvm-pit driver properties -DEF("no-kvm-pit-reinjection", 0, QEMU_OPTION_no_kvm_pit_reinjection, - "", QEMU_ARCH_I386) - HXCOMM Deprecated by -machine kernel_irqchip=3Don|off property DEF("no-kvm-irqchip", 0, QEMU_OPTION_no_kvm_irqchip, "", QEMU_ARCH_I386) =20 diff --git a/vl.c b/vl.c index a23acb2..23d55a4 100644 --- a/vl.c +++ b/vl.c @@ -3696,18 +3696,6 @@ int main(int argc, char **argv, char **envp) olist =3D qemu_find_opts("machine"); qemu_opts_parse_noisily(olist, "accel=3Dtcg", false); break; - case QEMU_OPTION_no_kvm_pit_reinjection: { - static GlobalProperty kvm_pit_lost_tick_policy =3D { - .driver =3D "kvm-pit", - .property =3D "lost_tick_policy", - .value =3D "discard", - }; - - warn_report("deprecated, replaced by " - "-global kvm-pit.lost_tick_policy=3Ddiscard"); - qdev_prop_register_global(&kvm_pit_lost_tick_policy); - break; - } case QEMU_OPTION_accel: accel_opts =3D qemu_opts_parse_noisily(qemu_find_opts("acc= el"), optarg, true); --=20 1.8.3.1