From patchwork Wed Dec 20 17:14:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 10126143 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id CBE996019C for ; Wed, 20 Dec 2017 17:45:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B9A592841F for ; Wed, 20 Dec 2017 17:45:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AB127287A4; Wed, 20 Dec 2017 17:45:08 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4A9E22841F for ; Wed, 20 Dec 2017 17:45:08 +0000 (UTC) Received: from localhost ([::1]:60626 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eRiQV-0004ee-Df for patchwork-qemu-devel@patchwork.kernel.org; Wed, 20 Dec 2017 12:45:07 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56622) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eRhyc-0004uE-KM for qemu-devel@nongnu.org; Wed, 20 Dec 2017 12:16:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eRhyX-0007L7-1l for qemu-devel@nongnu.org; Wed, 20 Dec 2017 12:16:18 -0500 Received: from mail-wr0-x242.google.com ([2a00:1450:400c:c0c::242]:42664) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eRhyW-0007Kg-Rm for qemu-devel@nongnu.org; Wed, 20 Dec 2017 12:16:12 -0500 Received: by mail-wr0-x242.google.com with SMTP id s66so22903733wrc.9 for ; Wed, 20 Dec 2017 09:16:12 -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=xfTY8DUtq2xdtPP2YLFfXWm3QGGYU/K+MgukPw4C85w=; b=m2xS+YKyG7Brb+quovYZL53pkqf6oCM2EGzgbTPx8L9IscqT12lJrf8fnvO2PZZRjO SE1iPqXErgCriFxk7/jIPL0VGJzdmcI2v6BSqJ9+rlUoz1+4TiBhCbalhEE4XWKqAiSz OtjWF64+34te1OWQwE/83iuxmlEr+ChIkoTU9ljLOjnnelUPkTJjzPPaQzvoRKKfsarE X0GvItFiomMOlYrowlLHVT/Xe/nPjQPmkhoXFpv4/wb87/S1g/7bITSKYXPn9FghvwML BFphzbgAFDfcwTBmJcOLiqkOS87ZMmUHNIKcTWAT79mVPkXQh9UPw1/d5fNFg3t0btE6 1lPw== 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=xfTY8DUtq2xdtPP2YLFfXWm3QGGYU/K+MgukPw4C85w=; b=gwl2O1WGfW1Fj5NGjrH865OhXfxEvaHnHhZXluiB61HVxDVFNrPka9jj4KNnPS/SZd Ko+qYza15UHeyCTc7gA3QN2Wpqp9mHccSRnX4BbZfudwAx0jSfy1cpFdYLNM++l0bJ0J DUiL0ScVdV/nz9cUml3pUkwQgfOZpe4vErCzLI4tFzdwfvQKOcmcpQmoysJKAhM9LyJA Sm0KCmiG53X2VCtDTdHHfBK0XK25D6QYb1Le/kft1U6uGBxZeHeMrl2q6dqwlsEvQqUb 8rsNwIBoLFyTTRtwcN0KON4yybrC2JCL7KU91FFZR6HVJE86uAL5Kxg7GKKjwA3MtP7l yakg== X-Gm-Message-State: AKGB3mKGWW1aDaMWIqwtsOagACGcLdVnYDo3UcR/ennhtHQpklwJqKqL NjGeXdobO6MzndfYcjJVSY2OF9sA X-Google-Smtp-Source: ACJfBosDjxeuzI76d1HchaTlaFQ4MoKsouJ0Ykk90wOgIL+58LVyqFM2X+opcS64A5gsM6mmofUhTA== X-Received: by 10.223.131.132 with SMTP id 4mr8643886wre.217.1513790171531; Wed, 20 Dec 2017 09:16:11 -0800 (PST) Received: from 640k.lan (dynamic-adsl-78-12-251-125.clienti.tiscali.it. [78.12.251.125]) by smtp.gmail.com with ESMTPSA id f125sm2751101wme.45.2017.12.20.09.16.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Dec 2017 09:16:10 -0800 (PST) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Wed, 20 Dec 2017 18:14:46 +0100 Message-Id: <1513790098-9815-35-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1513790098-9815-1-git-send-email-pbonzini@redhat.com> References: <1513790098-9815-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::242 Subject: [Qemu-devel] [PULL 34/46] Remove legacy -no-kvm-pit option 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+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Thomas Huth It's only printing a warning since QEMU v1.3.0, so nobody should use this anymore today. Let's get rid of this now. Signed-off-by: Thomas Huth Message-Id: <1513619065-31722-1-git-send-email-thuth@redhat.com> Signed-off-by: Paolo Bonzini --- qemu-doc.texi | 5 ----- qemu-options.hx | 3 --- vl.c | 4 ---- 3 files changed, 12 deletions(-) diff --git a/qemu-doc.texi b/qemu-doc.texi index 69e2953..90bea73 100644 --- a/qemu-doc.texi +++ b/qemu-doc.texi @@ -2612,11 +2612,6 @@ synonym for setting ``-global kvm-pit.lost_tick_policy=discard''. The ``-no-kvm-irqchip'' argument is now a synonym for setting ``-machine kernel_irqchip=off''. -@subsection -no-kvm-pit (since 1.3.0) - -The ``-no-kvm-pit'' argument is ignored. It is no longer -possible to disable the KVM PIT directly. - @subsection -no-kvm (since 1.3.0) The ``-no-kvm'' argument is now a synonym for setting diff --git a/qemu-options.hx b/qemu-options.hx index b1e5781..94647e2 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -3927,9 +3927,6 @@ HXCOMM Deprecated by kvm-pit driver properties DEF("no-kvm-pit-reinjection", 0, QEMU_OPTION_no_kvm_pit_reinjection, "", QEMU_ARCH_I386) -HXCOMM Deprecated (ignored) -DEF("no-kvm-pit", 0, QEMU_OPTION_no_kvm_pit, "", QEMU_ARCH_I386) - HXCOMM Deprecated by -machine kernel_irqchip=on|off property DEF("no-kvm-irqchip", 0, QEMU_OPTION_no_kvm_irqchip, "", QEMU_ARCH_I386) diff --git a/vl.c b/vl.c index e9012bb..d3a5c5d 100644 --- a/vl.c +++ b/vl.c @@ -3817,10 +3817,6 @@ int main(int argc, char **argv, char **envp) olist = qemu_find_opts("machine"); qemu_opts_parse_noisily(olist, "accel=tcg", false); break; - case QEMU_OPTION_no_kvm_pit: { - warn_report("ignoring deprecated option"); - break; - } case QEMU_OPTION_no_kvm_pit_reinjection: { static GlobalProperty kvm_pit_lost_tick_policy = { .driver = "kvm-pit",