From nobody Mon Feb 9 23:02:56 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 ARC-Seal: i=1; a=rsa-sha256; t=1614327652; cv=none; d=zohomail.com; s=zohoarc; b=VwJg7ByzTVPxU2vkG7ekTnF14OC7c80FtSQt3UHPxri7V6CIQSPJMGXEeA3KIYuEL2A3Y7rz7bWcaPM8/SxccbB2zxdEbPc3xlpEFHAmlv/h3oej3MqIHIXW2SHnSHuYbnoce7zI9wLBU8md5j6KwpGU9uRGM5AOHQC6m/a4iz8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1614327652; 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=kf+lvljz372V0FIW3LDVvUzPPbqpQ8K07ZfLmGiXllY=; b=F/3ml01N3OynaqX7ZCRxld4+yT6N8pA6A18oHH+pcOeWYURw+oXqeZMtZojmVKDWnGWxkNCpmGi9m8UEeaMQ7uJYjT1djm+QfZW16JThHhmurE+BLeOFbQAADhhWcEgHGgyD8M5OWEnV3Nk5d8gqpdRZq3pxkYiBTTvGpI/Dhy4= 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 1614327652559788.4573030637315; Fri, 26 Feb 2021 00:20:52 -0800 (PST) Received: from localhost ([::1]:36958 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lFYMl-0000Kl-Gu for importer@patchew.org; Fri, 26 Feb 2021 03:20:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41802) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lFY87-0001pe-LI for qemu-devel@nongnu.org; Fri, 26 Feb 2021 03:05:45 -0500 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]:35835) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lFY85-00049k-2I for qemu-devel@nongnu.org; Fri, 26 Feb 2021 03:05:43 -0500 Received: by mail-wm1-x32f.google.com with SMTP id o16so6955596wmh.0 for ; Fri, 26 Feb 2021 00:05:39 -0800 (PST) Received: from avogadro.lan ([2001:b07:6468:f312:c8dd:75d4:99ab:290a]) by smtp.gmail.com with ESMTPSA id n66sm10700830wmn.25.2021.02.26.00.05.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Feb 2021 00:05:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=kf+lvljz372V0FIW3LDVvUzPPbqpQ8K07ZfLmGiXllY=; b=gy11z+ZAjYScTfOBlwoNGR/d3ShuhHzVEj83rOj8Dsx88C4Ru0NJZXOor7ULFHWH7J 8/tNsEkBbcxKh8igWq4uHt+L9z0gZAH8YA+1+CtajT8+wToBduMeCfYHffkZ7SwwH4fK Ra99u9GauGrs9LJlZtyZ6O6Duqo2y87tq4fLPJZvecB5OjSxfgA0DQELiOK3g/G6xm14 ZWOjVLCX7qGm4fg9lSfgOnTD952fb7Qc8OjIZM5Xi9sH8wZHrZocOwU9/05dFkKl2NSL ytradTucd8iE59D/w+PeGwD+A6p93oPj1tozv5A0VVAOwUl+W2hnhZ086OviSp22WCW2 WPZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=kf+lvljz372V0FIW3LDVvUzPPbqpQ8K07ZfLmGiXllY=; b=rKJQBxJMgkmijuqHJQA2Uu0N0zeheFb1DgASw3tuIPvSKC5+v/vHQKI5KDH1cBkALi +oFTbsJwFvQv9K6BqbtxWJ3gi9/An62NPX4l6DfIk9jiH7yL1HX1+I6ZVGvqdedLSk/c 58nFLAvymlmIzkhbzm6tYvux6FbGaSk0X6+8k2u3ioEtjge3O1cOFcNMZVWZzP63ZcLT 7JRhCfkRzG1psqqtr7HRS4bChxiIz1XBTOtBbHmuc/2sxHryFub7PZ6fMWFJmmTx+tHF oazpUBfJ7Was1dPSJ6Alrdl442Nqai3mwSYfj/QKqAU/525RQDILIhoOpGol70qkf9nl N4KQ== X-Gm-Message-State: AOAM532gR+NlKUTBnr+3EsieuXCJkkH7MmljuU2Lt7L25ooxvb36I6aG 4WtD9h/GCt1ttlPc9AxWlnNRrKHJth0= X-Google-Smtp-Source: ABdhPJzCuQH3eEF/GYuKhWlxBLifbhgzU93mGUWmglzbD8qHspV1witLfMai8EV1L6QYZi3VlBaggA== X-Received: by 2002:a1c:a985:: with SMTP id s127mr1511214wme.158.1614326738890; Fri, 26 Feb 2021 00:05:38 -0800 (PST) From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 17/29] qemu-options: update to show preferred boolean syntax for -spice Date: Fri, 26 Feb 2021 09:05:14 +0100 Message-Id: <20210226080526.651705-18-pbonzini@redhat.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210226080526.651705-1-pbonzini@redhat.com> References: <20210226080526.651705-1-pbonzini@redhat.com> MIME-Version: 1.0 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=2a00:1450:4864:20::32f; envelope-from=paolo.bonzini@gmail.com; helo=mail-wm1-x32f.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: Daniel P. Berrang=C3=A9 The preferred syntax is to use "foo=3Don|off", rather than a bare "foo" or "nofoo". Signed-off-by: Daniel P. Berrang=C3=A9 Message-Id: <20210216191027.595031-4-berrange@redhat.com> Signed-off-by: Paolo Bonzini --- 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