From nobody Mon Feb 9 02:13:16 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.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 170.10.133.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=1625583286; cv=none; d=zohomail.com; s=zohoarc; b=IV1oanmcSRi4S9JH2Km5DVJWcOjZj1OoR1TBlgYgujIsgSHJytAmkxlCyE+S5oWIunqCsfA4JWOXOGic7w+NILfL5yz+Fg5wYXcf7UwZE6ES4zlu+AXvIOI0uS5Q5xPUcx0AugN5YNJ7QDBNIgKQ/D3MQvvhsAW4X4TilN06EMQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1625583286; 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=9DQgAXCNQpOdx2l+i6pZo48UkLMYcpdsmUdG7F8UYlw=; b=iWnooJBpUOolozHYjIx1AovT38goSdyIT4Tq8zSgcU0fxUiGh+JxHe2Ok+poNI1ejdvd/yeletqqJfVrSb8lIULHR+g+8FJfXDcb2z3apWpkL+FYCuNtqk4z1YqeeTcXC2pi+4OdaLjSM7xaLYHKdJOjglN5hGzZ5CiDLodJOLo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 162558328683895.89456412642915; Tue, 6 Jul 2021 07:54:46 -0700 (PDT) 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-220-YkIWyUDNNJOCnG1iIyz-6w-1; Tue, 06 Jul 2021 10:54:44 -0400 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 2F3FF18D6A34; Tue, 6 Jul 2021 14:54:39 +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 0E2EA5C1D5; Tue, 6 Jul 2021 14:54:39 +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 C38044EA2F; Tue, 6 Jul 2021 14:54:38 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 166EsSh6013267 for ; Tue, 6 Jul 2021 10:54:28 -0400 Received: by smtp.corp.redhat.com (Postfix) id 6E9EB5D6CF; Tue, 6 Jul 2021 14:54:28 +0000 (UTC) Received: from thuth.com (ovpn-113-37.ams2.redhat.com [10.36.113.37]) by smtp.corp.redhat.com (Postfix) with ESMTP id 334D55D6A1; Tue, 6 Jul 2021 14:54:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1625583285; 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=9DQgAXCNQpOdx2l+i6pZo48UkLMYcpdsmUdG7F8UYlw=; b=ADTtE+VLOhGF2AfnpytdrVlEYQRgazVGzfLiOqqTYy8+zht8JSn2fZhDnPtyZomJnSP0Hy 6NI07FgtdDkxPlogsvRSB31ykGFloAMZjZMxdaKkePzSHTzPIWtXPWfgmvovyDut9kJFf0 t8r0Py3q7ZzR0//p2r1Ig3StA81wqEA= X-MC-Unique: YkIWyUDNNJOCnG1iIyz-6w-1 From: Thomas Huth To: qemu-devel@nongnu.org, Paolo Bonzini Subject: [PATCH 3/3] softmmu/vl: Deprecate the -sdl and -curses option Date: Tue, 6 Jul 2021 16:54:13 +0200 Message-Id: <20210706145413.1449571-4-thuth@redhat.com> In-Reply-To: <20210706145413.1449571-1-thuth@redhat.com> References: <20210706145413.1449571-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-loop: libvir-list@redhat.com Cc: libvir-list@redhat.com, kraxel@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.16 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) X-ZM-MESSAGEID: 1625583290300100001 Content-Type: text/plain; charset="utf-8" It's not that much complicated to type "-display sdl" or "-display curses", so we should not clutter our main option name space with such simple wrapper options and rather present the users with a concise interface instead. Thus let's deprecate the "-sdl" and "-curses" wrapper options now. Signed-off-by: Thomas Huth --- docs/system/deprecated.rst | 10 ++++++++++ softmmu/vl.c | 3 +++ 2 files changed, 13 insertions(+) diff --git a/docs/system/deprecated.rst b/docs/system/deprecated.rst index 89069856f1..52ce343963 100644 --- a/docs/system/deprecated.rst +++ b/docs/system/deprecated.rst @@ -148,6 +148,16 @@ Use ``-display sdl,grab-mod=3Dlshift-lctrl-lalt`` inst= ead. =20 Use ``-display sdl,grab-mod=3Drctrl`` instead. =20 +``-sdl`` (since 6.1) +'''''''''''''''''''' + +Use ``-display sdl`` instead. + +``-curses`` (since 6.1) +''''''''''''''''''''''' + +Use ``-display curses`` instead. + =20 QEMU Machine Protocol (QMP) commands ------------------------------------ diff --git a/softmmu/vl.c b/softmmu/vl.c index 47cd47c840..e5ed90ce11 100644 --- a/softmmu/vl.c +++ b/softmmu/vl.c @@ -2881,6 +2881,8 @@ void qemu_init(int argc, char **argv, char **envp) dpy.type =3D DISPLAY_TYPE_NONE; break; case QEMU_OPTION_curses: + warn_report("-curses is deprecated, " + "use -display curses instead."); #ifdef CONFIG_CURSES dpy.type =3D DISPLAY_TYPE_CURSES; #else @@ -3254,6 +3256,7 @@ void qemu_init(int argc, char **argv, char **envp) "-display ...,window-close=3Doff instead."); break; case QEMU_OPTION_sdl: + warn_report("-sdl is deprecated, use -display sdl instead.= "); #ifdef CONFIG_SDL dpy.type =3D DISPLAY_TYPE_SDL; break; --=20 2.27.0