From nobody Mon Feb 9 07:07:03 2026 Delivered-To: importer@patchew.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 Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1636963569460138.5467687050825; Mon, 15 Nov 2021 00:06:09 -0800 (PST) Received: from localhost ([::1]:59610 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mmX0C-0005Nc-9x for importer@patchew.org; Mon, 15 Nov 2021 03:06:08 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45826) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmWxj-0003Vg-Rh for qemu-devel@nongnu.org; Mon, 15 Nov 2021 03:03:35 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:20659) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmWxh-0007fQ-1P for qemu-devel@nongnu.org; Mon, 15 Nov 2021 03:03:34 -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-188-RQhqFzN8O_uU27JDp14FVw-1; Mon, 15 Nov 2021 03:03:29 -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 00A3C1006AA2 for ; Mon, 15 Nov 2021 08:03:29 +0000 (UTC) Received: from localhost (unknown [10.39.208.18]) by smtp.corp.redhat.com (Postfix) with ESMTP id 302BE5C22B; Mon, 15 Nov 2021 08:03:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1636963411; 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=b+l1iK01Q/eySmpoZ8LkIdoLvLK8uTUqZR1R++yzoL8=; b=WCnqoC8ezhE49hHH1eOXRs4Z4TnSPUWmOhh4p4n06QLIKyfQfvBIkl9MhCjtwK2uGUbHOa WVsHn+S6I1SMPJ5FuWywk/VgX8aaX6U5wqSsEKirRUWaFZkiqfU/m0Q1HFw0uuKB+5P/he H6LGghsEQ0Gs4ZQxuyOc9V+4eiFB4PY= X-MC-Unique: RQhqFzN8O_uU27JDp14FVw-1 From: marcandre.lureau@redhat.com To: qemu-devel@nongnu.org Subject: [PATCH v2 1/2] qemu-options: define -spice only #ifdef CONFIG_SPICE Date: Mon, 15 Nov 2021 12:03:11 +0400 Message-Id: <20211115080312.64692-2-marcandre.lureau@redhat.com> In-Reply-To: <20211115080312.64692-1-marcandre.lureau@redhat.com> References: <20211115080312.64692-1-marcandre.lureau@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=marcandre.lureau@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" 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=170.10.133.124; envelope-from=marcandre.lureau@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -34 X-Spam_score: -3.5 X-Spam_bar: --- X-Spam_report: (-3.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.7, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-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.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paolo Bonzini , berrange@redhat.com, armbru@redhat.com, =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1636963692010100001 From: Marc-Andr=C3=A9 Lureau Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=3D1982600 Signed-off-by: Marc-Andr=C3=A9 Lureau Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- softmmu/vl.c | 2 ++ qemu-options.hx | 2 ++ 2 files changed, 4 insertions(+) diff --git a/softmmu/vl.c b/softmmu/vl.c index 1159a64bce4e..385465fbeb6d 100644 --- a/softmmu/vl.c +++ b/softmmu/vl.c @@ -3538,6 +3538,7 @@ void qemu_init(int argc, char **argv, char **envp) case QEMU_OPTION_readconfig: qemu_read_config_file(optarg, qemu_parse_config_group, &er= ror_fatal); break; +#ifdef CONFIG_SPICE case QEMU_OPTION_spice: olist =3D qemu_find_opts_err("spice", NULL); if (!olist) { @@ -3550,6 +3551,7 @@ void qemu_init(int argc, char **argv, char **envp) } display_remote++; break; +#endif case QEMU_OPTION_writeconfig: { FILE *fp; diff --git a/qemu-options.hx b/qemu-options.hx index 7749f59300b5..323913945a5d 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -2017,6 +2017,7 @@ SRST Enable SDL. ERST =20 +#ifdef CONFIG_SPICE DEF("spice", HAS_ARG, QEMU_OPTION_spice, "-spice [port=3Dport][,tls-port=3Dsecured-port][,x509-dir=3D]\n" " [,x509-key-file=3D][,x509-key-password=3D]\n" @@ -2038,6 +2039,7 @@ DEF("spice", HAS_ARG, QEMU_OPTION_spice, " enable spice\n" " at least one of {port, tls-port} is mandatory\n", QEMU_ARCH_ALL) +#endif SRST ``-spice option[,option[,...]]`` Enable the spice remote desktop protocol. Valid options are --=20 2.33.0.721.g106298f7f9 From nobody Mon Feb 9 07:07:03 2026 Delivered-To: importer@patchew.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 Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1636963583328984.6547807403654; Mon, 15 Nov 2021 00:06:23 -0800 (PST) Received: from localhost ([::1]:60580 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mmX0Q-00067V-Dg for importer@patchew.org; Mon, 15 Nov 2021 03:06:22 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45862) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmWxv-0003qH-Ly for qemu-devel@nongnu.org; Mon, 15 Nov 2021 03:03:47 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:21142) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmWxr-0007hG-VO for qemu-devel@nongnu.org; Mon, 15 Nov 2021 03:03:45 -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-559-SKJaL07BPOOwdhLKmTHMFg-1; Mon, 15 Nov 2021 03:03:42 -0500 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 5FB9C1006AA1 for ; Mon, 15 Nov 2021 08:03:41 +0000 (UTC) Received: from localhost (unknown [10.39.208.18]) by smtp.corp.redhat.com (Postfix) with ESMTP id DCB5018A8F; Mon, 15 Nov 2021 08:03:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1636963423; 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=b1hG7n/r1GiDNSFCyZ3FG1n/n3z0qzhboVxkv306mww=; b=Ec9iIAAH5F2HG3IWTn4rKNMQ5INW5SyJdASt1wsgyK2/Xkpd7+1vYaGcpeDsX9ID9uzviL KqP2NQqJeip/o9dZ9f6ArVvkGVDvnJE4G22oxK/OHxlByDYLTg5U4/NSGvNFafc4wxZSjs NyxV7UYvHDB01gnsqzMQ69i50sryOOc= X-MC-Unique: SKJaL07BPOOwdhLKmTHMFg-1 From: marcandre.lureau@redhat.com To: qemu-devel@nongnu.org Subject: [PATCH v2 2/2] vl: typo fix in a comment Date: Mon, 15 Nov 2021 12:03:12 +0400 Message-Id: <20211115080312.64692-3-marcandre.lureau@redhat.com> In-Reply-To: <20211115080312.64692-1-marcandre.lureau@redhat.com> References: <20211115080312.64692-1-marcandre.lureau@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=marcandre.lureau@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" 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=216.205.24.124; envelope-from=marcandre.lureau@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -34 X-Spam_score: -3.5 X-Spam_bar: --- X-Spam_report: (-3.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.7, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-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.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paolo Bonzini , berrange@redhat.com, armbru@redhat.com, =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1636963706259100001 From: Marc-Andr=C3=A9 Lureau Signed-off-by: Marc-Andr=C3=A9 Lureau Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- softmmu/vl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/softmmu/vl.c b/softmmu/vl.c index 385465fbeb6d..c584836c231e 100644 --- a/softmmu/vl.c +++ b/softmmu/vl.c @@ -1957,7 +1957,7 @@ static void qemu_create_early_backends(void) object_option_foreach_add(object_create_early); =20 /* spice needs the timers to be initialized by this point */ - /* spice must initialize before audio as it changes the default auiode= v */ + /* spice must initialize before audio as it changes the default audiod= ev */ /* spice must initialize before chardevs (for spicevmc and spiceport) = */ qemu_spice.init(); =20 --=20 2.33.0.721.g106298f7f9