From nobody Fri Nov 14 20:25:03 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=1589979770; cv=none; d=zohomail.com; s=zohoarc; b=FyZHzkyHvci2FremW0yODcp8b3hCaBy5kCEiG0iPuAB7x4W90gGQbtUPtz/VpsceFIvoEUISoRZf3DETMUvznFV8tHHVd8IxH5/pZa9vrE/Xjc3a9k/YGLjHn1Ow/FWgaoTzg0vbM5B5zsEis5ah3BhKBuYcNnd6q9SJ7rPM81g= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1589979770; 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=B9ZnP4tlZDYSDoaUAQh/MuI/l0EB+JyZh0JVk4VUu10=; b=dXbFEs2WCJH7qJZSyMeLKaV9ifMLc8NspI6BUrWUDxDSiXgwPf3OszWZx4TUrz8kvNBMDiu9N93os+QhtGEb/0SKyxMpmk9uLwjooRYRmiy+pXiQIU/OFuVtPUwISo7nTQ/VtL2ebBQ8UTy6TOeqv0VNG6oTnZH0pRKcbxZFYak= 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 1589979770428764.8324937751905; Wed, 20 May 2020 06:02:50 -0700 (PDT) Received: from localhost ([::1]:56946 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jbOMz-0004Z5-1r for importer@patchew.org; Wed, 20 May 2020 09:02:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44104) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jbOL5-0002MP-1H for qemu-devel@nongnu.org; Wed, 20 May 2020 09:00:51 -0400 Received: from us-smtp-1.mimecast.com ([207.211.31.81]:39540 helo=us-smtp-delivery-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1jbOL3-0004rS-TJ for qemu-devel@nongnu.org; Wed, 20 May 2020 09:00:50 -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-223-_Z_6zvZROvu9WKZWcYHCjA-1; Wed, 20 May 2020 09:00:46 -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 5239FA0BDA; Wed, 20 May 2020 13:00:45 +0000 (UTC) Received: from localhost.localdomain.com (unknown [10.36.110.3]) by smtp.corp.redhat.com (Postfix) with ESMTP id 94A6A10429CB; Wed, 20 May 2020 13:00:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1589979648; 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=B9ZnP4tlZDYSDoaUAQh/MuI/l0EB+JyZh0JVk4VUu10=; b=ABsizYvZ2rAo5MlAQSMmt2USkncvpDoai/sSmU8Ncyci2PMfgbnTAU221pfPhxT8uj/EXg 3Jcvf0Ru1tbiTxeb86LrMDyKr8E64a1MnkPnp9goCn5b1Y5DGedQhg9Nw/j35/rPvRVMXy oW2NIBhZml2gsqa83pYGVLalyheGEyc= X-MC-Unique: _Z_6zvZROvu9WKZWcYHCjA-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: qemu-devel@nongnu.org Subject: [PULL 3/3] qemu-options: updates for abstract unix sockets Date: Wed, 20 May 2020 14:00:25 +0100 Message-Id: <20200520130025.2201467-4-berrange@redhat.com> In-Reply-To: <20200520130025.2201467-1-berrange@redhat.com> References: <20200520130025.2201467-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 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=207.211.31.81; envelope-from=berrange@redhat.com; helo=us-smtp-delivery-1.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/20 04:09:34 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN 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?= , xiaoqiang zhao , Markus Armbruster , Gerd Hoffmann , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Paolo Bonzini Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: xiaoqiang zhao add options documents changes for -chardev Signed-off-by: xiaoqiang zhao Signed-off-by: Daniel P. Berrang=C3=A9 --- qemu-options.hx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/qemu-options.hx b/qemu-options.hx index e2dca8a4e9..93bde2bbc8 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -2938,7 +2938,7 @@ DEF("chardev", HAS_ARG, QEMU_OPTION_chardev, " [,server][,nowait][,telnet][,websocket][,reconnect=3Dseconds= ][,mux=3Don|off]\n" " [,logfile=3DPATH][,logappend=3Don|off][,tls-creds=3DID][,tls= -authz=3DID] (tcp)\n" "-chardev socket,id=3Did,path=3Dpath[,server][,nowait][,telnet][,webso= cket][,reconnect=3Dseconds]\n" - " [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off] (unix)= \n" + " [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,abstr= act=3Don|off][,tight=3Don|off] (unix)\n" "-chardev udp,id=3Did[,host=3Dhost],port=3Dport[,localaddr=3Dlocaladdr= ]\n" " [,localport=3Dlocalport][,ipv4][,ipv6][,mux=3Don|off]\n" " [,logfile=3DPATH][,logappend=3Don|off]\n" @@ -3105,9 +3105,13 @@ The available backends are: =20 ``nodelay`` disables the Nagle algorithm. =20 - ``unix options: path=3Dpath`` + ``unix options: path=3Dpath[,abstract=3Don|off][,tight=3Don|off]`` ``path`` specifies the local path of the unix socket. ``path`` is required. + ``abstract`` specifies the use of the abstract socket namespace, + rather than the filesystem. Optional, defaults to false. + ``tight`` sets the socket length of abstract sockets to their mini= mum, + rather than the full sun_path length. Optional, defaults to true. =20 ``-chardev udp,id=3Did[,host=3Dhost],port=3Dport[,localaddr=3Dlocaladdr][,= localport=3Dlocalport][,ipv4][,ipv6]`` Sends all traffic from the guest to a remote host over UDP. --=20 2.26.2