From nobody Tue Feb 10 04:15:49 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.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 209.51.188.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 (209.51.188.17 [209.51.188.17]) by mx.zohomail.com with SMTPS id 1549307796276465.2634861361132; Mon, 4 Feb 2019 11:16:36 -0800 (PST) Received: from localhost ([127.0.0.1]:47861 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gqjjK-0004eE-9o for importer@patchew.org; Mon, 04 Feb 2019 14:16:30 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59748) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gqj7I-0005Vh-S0 for qemu-devel@nongnu.org; Mon, 04 Feb 2019 13:37:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gqj7G-0003oN-Ow for qemu-devel@nongnu.org; Mon, 04 Feb 2019 13:37:12 -0500 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]:38899) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gqj7E-0003lj-DS for qemu-devel@nongnu.org; Mon, 04 Feb 2019 13:37:10 -0500 Received: by mail-wr1-x433.google.com with SMTP id v13so962158wrw.5 for ; Mon, 04 Feb 2019 10:37:05 -0800 (PST) Received: from 640k.lan ([93.56.166.5]) by smtp.gmail.com with ESMTPSA id s132sm8836236wmf.28.2019.02.04.10.37.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Feb 2019 10:37:03 -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=Q6PkjWNe4xsw+nhQZauBpf8sU3pIOYSff09M4dCzYKw=; b=mgO9MsyKlUC2fmo4PyAI3yDzRcRqt8vr6SKseUY5d2+ICQCxWe4m6H+NZr5kSaWs0G lsFjA7bXZchcddN7nQMgGMRa4Tw2aAcABhlr9DT77TzQw+VdOGv3i0dfhX0XP5/FGUDP rPjzm1xscLkPvzkS58fkTCNLAo60rBueMZNQazsfJTvkwMOXnzeweLeISKk5LAMHoWU7 YJJ5cIhb28+btqQ2orjUacYggFAydzv0SK4RyPQnQ2tOrEBPaaAinTTw6GRIjj1gPrhR lsRXx3xL7bjSY4p7mpvtHlOJrunSpO94Xce2BjB2+GiZP2nvgpxXPt/6ZzdNY+GOenPt oWWQ== 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=Q6PkjWNe4xsw+nhQZauBpf8sU3pIOYSff09M4dCzYKw=; b=eB9vvXQjDgFtfCe8Nr060aSTCyTr3aX/cejlj/IkcLjB5Nd4bMrmECJPB5ytEJJA+q cMhYWFGa8G9NrjBAbnmG9SXJhHsxtcvo2z+xa8ddhxSQIOUeo6BNVI/H04tAKv3X76tA bxok7wLeNyirh57AK3N2LVgXlXKuwNwb47Q6yD6iA1AgBhCwBrJHu0IrqO/SQNQIVC70 I0g4/9gtdFe/lditZTD2Z8yflOh7wXXgYhFsr+63UUsJZSBp6OUGod5WNhQGyNyQE0ne 9p/YJ2OvZmjgjKaANSi47CnFRKHP8eVC4IziEWvxRaW5Zd9Q4KQwQ1B9Brl0wX51K6dk oOVg== X-Gm-Message-State: AHQUAuaMjVMvRjp2/+5fF4JA+spDmJ/KK9lDDOPhcbNl5vCkw2g/wiJA 3ZeSL05s1hQZPHATfwCbgFJ3uWNb X-Google-Smtp-Source: AHgI3IaUU4gg14rZduhIRl7NT4nFwrc9F5T56BPM4e7TVViROgP+Ip6xW43cIGKcnP0i1u5GiM6kew== X-Received: by 2002:a5d:6988:: with SMTP id g8mr553053wru.33.1549305424183; Mon, 04 Feb 2019 10:37:04 -0800 (PST) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Mon, 4 Feb 2019 19:35:46 +0100 Message-Id: <1549305379-51117-45-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1549305379-51117-1-git-send-email-pbonzini@redhat.com> References: <1549305379-51117-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:4864:20::433 Subject: [Qemu-devel] [PULL 44/77] Remove deprecated -enable-hax 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+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Thomas Huth Our command line interface is really quite overcrowded, we should avoid duplicated options that do the same thing in just a slightly different way. "-accel hax" is shorter and more generic that "-enable-hax", so there is really no real usage for the latter option. "-enable-hax" has been deprecated since two releases, and nobody complained so far, so it's time to remove this now. Signed-off-by: Thomas Huth Message-Id: <1544790073-23049-1-git-send-email-thuth@redhat.com> Signed-off-by: Paolo Bonzini --- qemu-deprecated.texi | 5 ----- qemu-options.hx | 11 ----------- vl.c | 5 ----- 3 files changed, 21 deletions(-) diff --git a/qemu-deprecated.texi b/qemu-deprecated.texi index 9cc20b3..e184a7d 100644 --- a/qemu-deprecated.texi +++ b/qemu-deprecated.texi @@ -53,11 +53,6 @@ Option @option{-virtioconsole} has been replaced by The @code{-clock} option is ignored since QEMU version 1.7.0. There is no replacement since it is not needed anymore. =20 -@subsection -enable-hax (since 3.0.0) - -The @option{-enable-hax} option has been replaced by @option{-accel hax}. -Both options have been introduced in QEMU version 2.9.0. - @subsection -drive file=3Djson:@{...@{'driver':'file'@}@} (since 3.0) =20 The 'file' driver for drives is no longer appropriate for character or host diff --git a/qemu-options.hx b/qemu-options.hx index 521511e..8f34dce 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -3381,17 +3381,6 @@ Enable KVM full virtualization support. This option = is only available if KVM support is enabled when compiling. ETEXI =20 -DEF("enable-hax", 0, QEMU_OPTION_enable_hax, \ - "-enable-hax enable HAX virtualization support\n", QEMU_ARCH_I386) -STEXI -@item -enable-hax -@findex -enable-hax -Enable HAX (Hardware-based Acceleration eXecution) support. This option -is only available if HAX support is enabled when compiling. HAX is only -applicable to MAC and Windows platform, and thus does not conflict with -KVM. This option is deprecated, use @option{-accel hax} instead. -ETEXI - DEF("xen-domid", HAS_ARG, QEMU_OPTION_xen_domid, "-xen-domid id specify xen guest domain id\n", QEMU_ARCH_ALL) DEF("xen-attach", 0, QEMU_OPTION_xen_attach, diff --git a/vl.c b/vl.c index 9cf0fbe..804fbdb 100644 --- a/vl.c +++ b/vl.c @@ -3655,11 +3655,6 @@ int main(int argc, char **argv, char **envp) olist =3D qemu_find_opts("machine"); qemu_opts_parse_noisily(olist, "accel=3Dkvm", false); break; - case QEMU_OPTION_enable_hax: - warn_report("Option is deprecated, use '-accel hax' instea= d"); - olist =3D qemu_find_opts("machine"); - qemu_opts_parse_noisily(olist, "accel=3Dhax", false); - break; case QEMU_OPTION_M: case QEMU_OPTION_machine: olist =3D qemu_find_opts("machine"); --=20 1.8.3.1