From nobody Sat May 18 21:00:28 2024 Delivered-To: importer@patchew.org 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; Authentication-Results: mx.zohomail.com; dkim=fail; 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=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1586252241; cv=none; d=zohomail.com; s=zohoarc; b=TEdmPpi47UHMGqP/uLBeOrfqL0cMn1hGDzPTLkflAjg/Dk8pL/tLeyVqSq6HxIt1cBzhsFESNEgM6sb3yLqRoaymRMqmIMhNxztiY0mjrDbsh2mRIKUX1tfPmF6n9XoisZpZsnN8ucal5/Dahk+QOmLtB5kFTpud9LxlRqr53o0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1586252241; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:Sender:Subject:To; bh=cPGyaQEkTVX74IWsa7XTlZWvRIPuGSRL59sHbAo4Tks=; b=dSnG6DgzIthNKvwESrsYKGeJRy8hIcOOdl0XcTt4ui9N6Y3/PPhamQuAYO+167YCiqg5vup67c11ItMxAkDoh4xkSoTCPOuxKFAK0iK5rsLe2LUhhj4UODWSA7JRAwHsQnb+SpZUA/3465mry7eHlt1IDBLIhKFM7n8lWEfy90Y= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; 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=fail 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 1586252241321959.7747208519824; Tue, 7 Apr 2020 02:37:21 -0700 (PDT) Received: from localhost ([::1]:43988 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jLkfY-0005KR-0Y for importer@patchew.org; Tue, 07 Apr 2020 05:37:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35171) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jLkem-0004t0-MD for qemu-devel@nongnu.org; Tue, 07 Apr 2020 05:36:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jLkel-0006PT-PU for qemu-devel@nongnu.org; Tue, 07 Apr 2020 05:36:32 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:25749 helo=us-smtp-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jLkel-0006P1-M7 for qemu-devel@nongnu.org; Tue, 07 Apr 2020 05:36:31 -0400 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-229-43pKa1Z_Pj6z9-91TdhzMQ-1; Tue, 07 Apr 2020 05:36:23 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id C34951085926; Tue, 7 Apr 2020 09:36:22 +0000 (UTC) Received: from sirius.home.kraxel.org (ovpn-113-60.ams2.redhat.com [10.36.113.60]) by smtp.corp.redhat.com (Postfix) with ESMTP id D7F8A10002D0; Tue, 7 Apr 2020 09:36:18 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id B1F6416E2C; Tue, 7 Apr 2020 11:36:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1586252191; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=cPGyaQEkTVX74IWsa7XTlZWvRIPuGSRL59sHbAo4Tks=; b=V3K8Y4IPFCsJ+KlapNISwurIM8GDSabPNYgQJ4Nd+nP1fECxgbWfELxFhM/KwpS7BxhutV d4WZbimzHQypMZiGIRuZ2mP8dbCSviFFVtWpxcLlmvWIjRDHVyClf7AJper4PSbcQJEDZP cRhpRucDl5/WBDPwY4fSHehKyDVz2cs= X-MC-Unique: 43pKa1Z_Pj6z9-91TdhzMQ-1 From: Gerd Hoffmann To: qemu-devel@nongnu.org Subject: [PATCH v4] ui: improve -show-cursor deprecation message Date: Tue, 7 Apr 2020 11:36:17 +0200 Message-Id: <20200407093617.10058-1-kraxel@redhat.com> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 207.211.31.120 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: peter.maydell@linaro.org, Gerd Hoffmann , Paolo Bonzini Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Specifically explain what users should do in case they don't use -display yet and depend on the qemu picking the ui for them. Signed-off-by: Gerd Hoffmann --- softmmu/vl.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/softmmu/vl.c b/softmmu/vl.c index 58a40bcfc19c..0640d481df06 100644 --- a/softmmu/vl.c +++ b/softmmu/vl.c @@ -3531,8 +3531,10 @@ void qemu_init(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"); + 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; --=20 2.18.2