From nobody Mon Feb 9 20:34:11 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 (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1549394264706811.994462557582; Tue, 5 Feb 2019 11:17:44 -0800 (PST) Received: from localhost ([127.0.0.1]:38396 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gr6E3-0002Zd-58 for importer@patchew.org; Tue, 05 Feb 2019 14:17:43 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36461) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gr5Ge-0002dY-QD for qemu-devel@nongnu.org; Tue, 05 Feb 2019 13:16:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gr5Gc-00048o-Ou for qemu-devel@nongnu.org; Tue, 05 Feb 2019 13:16:20 -0500 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]:54478) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gr5Gc-00044i-DX for qemu-devel@nongnu.org; Tue, 05 Feb 2019 13:16:18 -0500 Received: by mail-wm1-x333.google.com with SMTP id a62so4680165wmh.4 for ; Tue, 05 Feb 2019 10:16:14 -0800 (PST) Received: from 640k.lan ([93.56.166.5]) by smtp.gmail.com with ESMTPSA id p5sm8931665wmh.16.2019.02.05.10.16.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Feb 2019 10: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=FxQL0I6zVjrBGwNj7hWkkkzdytQIz4zftpZnZb8SJ3o=; b=M5n6MjgrYFArRruZw79T3SakTpCDKN5pM7y/OG/6+y212Y5VncWMGKt6yUFQHHYaAo Aj6UU7Na4+i8k83//l5rUk0MV75NHidf29gz7dBchAapNXns6gK8JXEWxsUEBmmEsEM7 NOjF+xv8N9lm34wnMjZRwF+yhJZ0psMk78mffs1ruRNqNFfplXPi8qa/BBFXiqMJVFsj bqrj4TYm6U4PYA9EhB0YTDGCWs0l+aF8eOctHD1t0hMbrUrn0MXsEbc3ubu9OLKKHpbW X6rc0xs+aW0QMT2koQzPNlsRmh+OP4dLI0NqfWATVvpsSicfn2KOKM3K65D6qmjGAx63 0yxg== 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=FxQL0I6zVjrBGwNj7hWkkkzdytQIz4zftpZnZb8SJ3o=; b=YQQT/8xT5YdAfdyxtP8g3/rJPHSuFvC4MkShot9d2UpGOoDjcwXDe+1b1d4fJmHVcj Ub2KT9F3889Dq7RN1yvSRe9SelDmbMgdkrACJXKN3+6sSxP2DaKwBmF9C1QMaiMEMdt8 9A09f95+DTk3kz66DLTOogTD577I4Ru9qNyhjaIh0dlHWyusXb9QjAxwal9NbDOEMyNK AvckifDMSQ9pBtfqJMRrl0bMN/sSrbs0C5ef57plA1vdfkWK9X+HTSXgDYrMI1lJiKoP YTozSzewqnwl0k7SseXNSeW3MlRgPZqjQlNFyqobUraLc1LI/a2YPw/ror8yQPwwsQT7 lCZw== X-Gm-Message-State: AHQUAuZxJfu0vnWpoFEdF8Y8sAoGTwIY/F523QdC2hozVIBfd6jC0V/C oa3kfOY2C6DoWj1fiGvCkUk+gNAO X-Google-Smtp-Source: AHgI3IYCULSwpNIMAz9niEDyyEmnwav9i7wfBj53QGMYIuCepxATqgjWB+T7Ucu+yzWXJJbGHAtLwA== X-Received: by 2002:a7b:c218:: with SMTP id x24mr23811wmi.58.1549390572905; Tue, 05 Feb 2019 10:16:12 -0800 (PST) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Tue, 5 Feb 2019 19:14:53 +0100 Message-Id: <1549390526-24246-44-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1549390526-24246-1-git-send-email-pbonzini@redhat.com> References: <1549390526-24246-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::333 Subject: [Qemu-devel] [PULL 43/76] 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 8a6174d..dcf85a9 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