From nobody Sat Feb 7 07:25:49 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1607615990; cv=none; d=zohomail.com; s=zohoarc; b=MRP9gXrHmbeL8hxuh4FVF02VRy5wSWxK7EiZKobRo+Dgo4EKbICeSvBkKxehZ/n9+Y+4ySY+Y/90JcfEizmHRIpkZiKgcjFO8mjoUZw3OU5QbY/u3wJy7/9kb/OVnhBRzwImbilptEm8e3OeXpf/JxqMkTyfk/VrQd96wUWJjGE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1607615990; 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=weNXQ0RWPOEHPasc6pLJLQD8ca1ncaYoxY+OugjHfuY=; b=GXlVdg9dm9sWDO4GheQbjFkm4wGJ92jYw2JIUm/rDYc84NYBLdHstjtYYcULU93e42Od5uOoTouK0+J5nbHUA7BDJdJL1Ms5dlSjeDJMopZMUaAlVKJ3hfDjMxngO5U6EXXhqpcz0GuXo9EHR1fOPphqpI7JhzRHbm1eHC5C5zM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1607615990155508.89091251217644; Thu, 10 Dec 2020 07:59:50 -0800 (PST) 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-429-3Yaqo1XbO7qJwusUUbxN8Q-1; Thu, 10 Dec 2020 10:59:45 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 67CF78814E5; Thu, 10 Dec 2020 15:59:07 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 3E83A5D6D3; Thu, 10 Dec 2020 15:59:07 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 055BF5002E; Thu, 10 Dec 2020 15:59:07 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 0BAFx6A9025988 for ; Thu, 10 Dec 2020 10:59:06 -0500 Received: by smtp.corp.redhat.com (Postfix) id 4022F709B1; Thu, 10 Dec 2020 15:59:06 +0000 (UTC) Received: from thuth.com (ovpn-112-62.ams2.redhat.com [10.36.112.62]) by smtp.corp.redhat.com (Postfix) with ESMTP id D1DD270862; Thu, 10 Dec 2020 15:58:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1607615988; h=from:from:sender:sender: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=weNXQ0RWPOEHPasc6pLJLQD8ca1ncaYoxY+OugjHfuY=; b=Rn+AAjIccebyu/e6y9X2BN/zjWER6xuVsZhqrbeKtxUOd7WvNWmmMwtvfMjTXW0846u1t9 H49GHC1CIvQmyzIYoFKbX9LV/162elSK3mWj7gpWyZPkLgs2PucfDRXlKHQMcfWfB0OaNm Yf6Kp3/sKnO+IrExD7X7hQt1ERaPz88= X-MC-Unique: 3Yaqo1XbO7qJwusUUbxN8Q-1 From: Thomas Huth To: qemu-devel@nongnu.org, Paolo Bonzini Subject: [PATCH 4/4] Remove the deprecated -show-cursor option Date: Thu, 10 Dec 2020 16:58:08 +0100 Message-Id: <20201210155808.233895-5-thuth@redhat.com> In-Reply-To: <20201210155808.233895-1-thuth@redhat.com> References: <20201210155808.233895-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com Cc: libvir-list@redhat.com, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , kraxel@redhat.com, mst@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" It has been marked as deprecated since QEMU v5.0, replaced by the corresponding parameter of the -display option. Signed-off-by: Thomas Huth --- 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 307b83ea60..2ea7ec812d 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 63046d5c24..89c45f23f8 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 79a4c35b49..daa6bc2eda 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -4061,13 +4061,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 9f4c228c0e..1d6d144442 100644 --- a/softmmu/vl.c +++ b/softmmu/vl.c @@ -3557,14 +3557,6 @@ void qemu_init(int argc, char **argv, char **envp) case QEMU_OPTION_no_shutdown: no_shutdown =3D 1; 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.27.0