From nobody Tue Nov 18 07:41:57 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1608071630; cv=none; d=zohomail.com; s=zohoarc; b=Vi8mQHejVQQBxXrdpD5IGHlPu8hsr+pwn65YnfKLPitaDAmv60+cw2Pwxk3039I+HDuq+2Onyv+u2G10uiPJuo8rAB6924uOHPg6qduPm3WMkXg0WfWPC9x/9WeXhl9t++aPveNtkxRjVsYypV7/7NiYafmPU9iV0teLz3K4okQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1608071630; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=5LciCMGUhWbkqwpCH4bBmRcGavyUmaFYVXh7+oLul9U=; b=DEMUINSvvvOryUk/NV6BVOr0G48noWY+wqOyhZHMd3wjo53/L/rPOInhxuuMj0XaOAJtRwVZo2PQ2tfop9vj+96PSnx6/ilGC7guywKSPlzdUkOp57CNTIgloRvk/NeLnpbXVKwR92zJpdIT7fkqK1lam6IL+gGtai/h+j9LBns= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 16080716302821016.2718525703992; Tue, 15 Dec 2020 14:33:50 -0800 (PST) Received: from localhost ([::1]:33156 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kpElE-0005x3-Ts for importer@patchew.org; Tue, 15 Dec 2020 13:09:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34228) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kpEXQ-0003BL-LM for qemu-devel@nongnu.org; Tue, 15 Dec 2020 12:55:04 -0500 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:26440) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1kpEXL-0001VT-Bz for qemu-devel@nongnu.org; Tue, 15 Dec 2020 12:55:04 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-294-8sIX9VC8NZKZyrWEaT5xdA-1; Tue, 15 Dec 2020 12:54:56 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id F3E1B1005513 for ; Tue, 15 Dec 2020 17:54:55 +0000 (UTC) Received: from virtlab701.virt.lab.eng.bos.redhat.com (virtlab701.virt.lab.eng.bos.redhat.com [10.19.152.228]) by smtp.corp.redhat.com (Postfix) with ESMTP id B30FD5C1C4; Tue, 15 Dec 2020 17:54:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1608054898; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5LciCMGUhWbkqwpCH4bBmRcGavyUmaFYVXh7+oLul9U=; b=LP7GJFHBFq0rnuRDxr324ADFBK6iAVD9Yadq6gWb1ZOBzRGLgFCZBNd74DOWPTYPtI+3hm dfx/NFkELw6/bL1DUp/bbPxEAJ/CrWDc5Fj9emHrGSv2rK9VmAAvjb45GsDmENIX6FdXIe voG1MRzYiLzO5ZCLZ1M/7FZC37jQbn0= X-MC-Unique: 8sIX9VC8NZKZyrWEaT5xdA-1 From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 23/45] Remove the deprecated -show-cursor option Date: Tue, 15 Dec 2020 12:54:23 -0500 Message-Id: <20201215175445.1272776-24-pbonzini@redhat.com> In-Reply-To: <20201215175445.1272776-1-pbonzini@redhat.com> References: <20201215175445.1272776-1-pbonzini@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=pbonzini@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.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; Received-SPF: pass client-ip=63.128.21.124; envelope-from=pbonzini@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 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: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" From: Thomas Huth It has been marked as deprecated since QEMU v5.0, replaced by the corresponding parameter of the -display option. Signed-off-by: Thomas Huth Message-Id: <20201210155808.233895-5-thuth@redhat.com> Signed-off-by: Paolo Bonzini --- docs/system/deprecated.rst | 6 ------ docs/system/removed-features.rst | 6 ++++++ qemu-options.hx | 7 ------- softmmu/vl.c | 8 -------- 4 files changed, 6 insertions(+), 21 deletions(-) diff --git a/docs/system/deprecated.rst b/docs/system/deprecated.rst index 16810d1b85..bacd76d7a5 100644 --- a/docs/system/deprecated.rst +++ b/docs/system/deprecated.rst @@ -94,12 +94,6 @@ QEMU 5.1 has three options: to the user to load all the images they need. 3. ``-bios `` - Tells QEMU to load the specified file as the firmwr= ae. =20 -``-show-cursor`` option (since 5.0) -''''''''''''''''''''''''''''''''''' - -Use ``-display sdl,show-cursor=3Don`` or - ``-display gtk,show-cursor=3Don`` instead. - ``Configuring floppies with ``-global`` ''''''''''''''''''''''''''''''''''''''' =20 diff --git a/docs/system/removed-features.rst b/docs/system/removed-feature= s.rst index 58d4e3874c..8b20d78a4d 100644 --- a/docs/system/removed-features.rst +++ b/docs/system/removed-features.rst @@ -26,6 +26,12 @@ The ``-no-kvm`` argument was a synonym for setting ``-ma= chine accel=3Dtcg``. The ``-realtime mlock=3Don|off`` argument has been replaced by the ``-overcommit mem-lock=3Don|off`` argument. =20 +``-show-cursor`` option (since 5.0) +''''''''''''''''''''''''''''''''''' + +Use ``-display sdl,show-cursor=3Don``, ``-display gtk,show-cursor=3Don`` +or ``-display default,show-cursor=3Don`` instead. + ``-tb-size`` option (removed in 6.0) '''''''''''''''''''''''''''''''''''' =20 diff --git a/qemu-options.hx b/qemu-options.hx index c85f73e300..459c916d3d 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -4092,13 +4092,6 @@ SRST =20 ERST =20 -DEF("show-cursor", 0, QEMU_OPTION_show_cursor, \ - "-show-cursor show cursor\n", QEMU_ARCH_ALL) -SRST -``-show-cursor`` - Show cursor. -ERST - DEF("incoming", HAS_ARG, QEMU_OPTION_incoming, \ "-incoming tcp:[host]:port[,to=3Dmaxport][,ipv4][,ipv6]\n" \ "-incoming rdma:host:port[,ipv4][,ipv6]\n" \ diff --git a/softmmu/vl.c b/softmmu/vl.c index b3918d6a68..c56e6dc0b3 100644 --- a/softmmu/vl.c +++ b/softmmu/vl.c @@ -3204,14 +3204,6 @@ void qemu_init(int argc, char **argv, char **envp) olist =3D qemu_find_opts("action"); qemu_opts_parse_noisily(olist, "panic=3Dpause,shutdown=3Dp= ause", false); break; - case QEMU_OPTION_show_cursor: - warn_report("The -show-cursor option is deprecated. Please= " - "add show-cursor=3Don to your -display options= ."); - warn_report("When using the default display you can use " - "-display default,show-cursor=3Don"); - dpy.has_show_cursor =3D true; - dpy.show_cursor =3D true; - break; case QEMU_OPTION_uuid: if (qemu_uuid_parse(optarg, &qemu_uuid) < 0) { error_report("failed to parse UUID string: wrong forma= t"); --=20 2.26.2