From nobody Wed Nov 19 00:12:07 2025 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 ARC-Seal: i=1; a=rsa-sha256; t=1613502846; cv=none; d=zohomail.com; s=zohoarc; b=O9YnOOX2feAc1Ee8bIMEV6VWkfBJ9LlV79bXtx2YpMu9ttZK46DT5CPfucLfb1fMqXFJKlnhn6kNdqEo/tpu4tl541zSujpZ08YnfyUKTa0BahnctJEVtJFcvevhxjLE3v2rG1x+TSb7vXuBWczFRhQ8765ATj4Z4IawWzGdnzA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1613502846; 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=ZcjZNiNBT2OvO6quvRwvgiDPHr3OJE9iZRkvT09iFu0=; b=fQxusS/S1BoQLyg5LerWBXH67nKdQBlgsYiRo+tamo2Sw79bn4U4jeK63I36K7coLx4EtprsQr5fWD1rKjaxOOXqKQ1VIqsB79uAlqZg1fFcZfPCPYUYLmkcnbdl6+wD2bR/xVR4R0uMoGKTI6aPjgrCh/85Ukqv15degTY8/nY= 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 1613502846573481.8441291104831; Tue, 16 Feb 2021 11:14:06 -0800 (PST) Received: from localhost ([::1]:40936 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lC5nR-0004XP-IC for importer@patchew.org; Tue, 16 Feb 2021 14:14:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45874) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lC5kF-0002go-5s for qemu-devel@nongnu.org; Tue, 16 Feb 2021 14:10:47 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:59444) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1lC5kC-0004PV-RM for qemu-devel@nongnu.org; Tue, 16 Feb 2021 14:10:46 -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-489-3U0JJmzoNFK4bvWA8DzoKA-1; Tue, 16 Feb 2021 14:10:42 -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 312E7C288; Tue, 16 Feb 2021 19:10:41 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-112-215.ams2.redhat.com [10.36.112.215]) by smtp.corp.redhat.com (Postfix) with ESMTP id 77B045C1B4; Tue, 16 Feb 2021 19:10:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1613502644; 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=ZcjZNiNBT2OvO6quvRwvgiDPHr3OJE9iZRkvT09iFu0=; b=XlwUMEiupHYvuvPkCsdqb4XpRa+EN5+D4Zy2rMbEAdzx6LKgIQsXAZ+vLZFz320xuEaUCr kLdH1sk7POtcStbD5coUTVqbGV1/Hnhnz5T7yFYA2Yqu5GzkGDZnqGGdm82PNLvUmWI4Bf p6TL5xGjOZeDQKNb//ppYY0yfX5pKWQ= X-MC-Unique: 3U0JJmzoNFK4bvWA8DzoKA-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH 03/10] qemu-options: update to show preferred boolean syntax for -spice Date: Tue, 16 Feb 2021 19:10:20 +0000 Message-Id: <20210216191027.595031-4-berrange@redhat.com> In-Reply-To: <20210216191027.595031-1-berrange@redhat.com> References: <20210216191027.595031-1-berrange@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=berrange@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=berrange@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, 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_H3=0.001, RCVD_IN_MSPIKE_WL=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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Paolo Bonzini Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) The preferred syntax is to use "foo=3Don|off", rather than a bare "foo" or "nofoo". Signed-off-by: Daniel P. Berrang=C3=A9 --- qemu-options.hx | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/qemu-options.hx b/qemu-options.hx index 972ef412cc..bdf159c929 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -1894,16 +1894,17 @@ 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" " [,x509-cert-file=3D][,x509-cacert-file=3D]\n" - " [,x509-dh-key-file=3D][,addr=3Daddr][,ipv4|ipv6|unix]\n" + " [,x509-dh-key-file=3D][,addr=3Daddr]\n" + " [,ipv4=3Don|off][,ipv6=3Don|off][,unix=3Don|off]\n" " [,tls-ciphers=3D]\n" " [,tls-channel=3D[main|display|cursor|inputs|record|playback]]\= n" " [,plaintext-channel=3D[main|display|cursor|inputs|record|playb= ack]]\n" - " [,sasl][,password=3D][,disable-ticketing]\n" + " [,sasl=3Don|off][,password=3D][,disable-ticketing=3Don= |off]\n" " [,image-compression=3D[auto_glz|auto_lz|quic|glz|lz|off]]\n" " [,jpeg-wan-compression=3D[auto|never|always]]\n" " [,zlib-glz-wan-compression=3D[auto|never|always]]\n" - " [,streaming-video=3D[off|all|filter]][,disable-copy-paste]\n" - " [,disable-agent-file-xfer][,agent-mouse=3D[on|off]]\n" + " [,streaming-video=3D[off|all|filter]][,disable-copy-paste=3Don= |off]\n" + " [,disable-agent-file-xfer=3Don|off][,agent-mouse=3D[on|off]]\n" " [,playback-compression=3D[on|off]][,seamless-migration=3D[on|o= ff]]\n" " [,gl=3D[on|off]][,rendernode=3D]\n" " enable spice\n" @@ -1920,13 +1921,13 @@ SRST Set the IP address spice is listening on. Default is any address. =20 - ``ipv4``; \ ``ipv6``; \ ``unix`` + ``ipv4=3Don|off``; \ ``ipv6=3Don|off``; \ ``unix=3Don|off`` Force using the specified IP version. =20 ``password=3D`` Set the password you need to authenticate. =20 - ``sasl`` + ``sasl=3Don|off`` Require that the client use SASL to authenticate with the spice. The exact choice of authentication method used is controlled from the system / user's SASL configuration file for the 'qemu' @@ -1940,13 +1941,13 @@ SRST data encryption preventing compromise of authentication credentials. =20 - ``disable-ticketing`` + ``disable-ticketing=3Don|off`` Allow client connects without authentication. =20 - ``disable-copy-paste`` + ``disable-copy-paste=3Don|off`` Disable copy paste between the client and the guest. =20 - ``disable-agent-file-xfer`` + ``disable-agent-file-xfer=3Don|off`` Disable spice-vdagent based file-xfer between the client and the guest. =20 --=20 2.29.2