From nobody Fri Apr 19 10:58:39 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) client-ip=205.139.110.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by mx.zohomail.com with SMTPS id 1581524372571311.7889464684697; Wed, 12 Feb 2020 08:19:32 -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-242--tXyNJhLM1CmjlpGG6xwYA-1; Wed, 12 Feb 2020 11:19:22 -0500 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id EEF6D106BB8B; Wed, 12 Feb 2020 16:19:14 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C4CA660E1C; Wed, 12 Feb 2020 16:19:14 +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 7AEF418089D6; Wed, 12 Feb 2020 16:19:14 +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 01CGIo9r030209 for ; Wed, 12 Feb 2020 11:18:50 -0500 Received: by smtp.corp.redhat.com (Postfix) id DDEE890095; Wed, 12 Feb 2020 16:18:50 +0000 (UTC) Received: from sirius.home.kraxel.org (ovpn-117-39.ams2.redhat.com [10.36.117.39]) by smtp.corp.redhat.com (Postfix) with ESMTP id 999E490761; Wed, 12 Feb 2020 16:18:44 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 243C431EB6; Wed, 12 Feb 2020 17:18:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1581524371; 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=4em2DWXVVe2v8rApkmWa0UnHCuFrOGU+HzyQvRV6mpo=; b=OY7UhB/S4TYTzotlc6ddhLUXnhJaXZsYs5dXeYvow5arGgw3I3A7/pkkwOlcgGu/ysTGM+ lXBpGkC3Y4A4Ism6LOQhbbMmkTbIVUMzoan+p/x5K1WEpuIUvD+bQte71HgHIqKnLD/lcI L7lNN7daqOcurSBp58UZb2INMLo4rPc= From: Gerd Hoffmann To: qemu-devel@nongnu.org Subject: [PULL 09/10] ui: deprecate legacy -show-cursor option Date: Wed, 12 Feb 2020 17:18:34 +0100 Message-Id: <20200212161835.28576-10-kraxel@redhat.com> In-Reply-To: <20200212161835.28576-1-kraxel@redhat.com> References: <20200212161835.28576-1-kraxel@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com Cc: Peter Maydell , libvir-list@redhat.com, Gerd Hoffmann , Paolo Bonzini 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.12 X-MC-Unique: -tXyNJhLM1CmjlpGG6xwYA-1 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" Signed-off-by: Gerd Hoffmann Reviewed-by: J=C3=A1n Tomko --- vl.c | 2 ++ qemu-deprecated.texi | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/vl.c b/vl.c index 62efcd15c0bf..001be469c2e9 100644 --- a/vl.c +++ b/vl.c @@ -3562,6 +3562,8 @@ int main(int argc, char **argv, char **envp) no_shutdown =3D 1; break; case QEMU_OPTION_show_cursor: + warn_report("The -show-cursor option is deprecated, " + "use -display {sdl,gtk},show-cursor=3Don inste= ad"); dpy.has_show_cursor =3D true; dpy.show_cursor =3D true; break; diff --git a/qemu-deprecated.texi b/qemu-deprecated.texi index 017b750ca8e2..0671c26c806e 100644 --- a/qemu-deprecated.texi +++ b/qemu-deprecated.texi @@ -148,6 +148,11 @@ QEMU 5.0 introduced an alternative syntax to specify t= he size of the translation block cache, @option{-accel tcg,tb-size=3D}. The new syntax deprecates the previously available @option{-tb-size} option. =20 +@subsection -show-cursor option (since 5.0) + +Use @option{-display sdl,show-cursor=3Don} or + @option{-display gtk,show-cursor=3Don} instead. + @section QEMU Machine Protocol (QMP) commands =20 @subsection change (since 2.5.0) --=20 2.18.2