From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 5CA8F98892 for ; Tue, 25 Apr 2023 12:22:24 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 3F4C63A5DA for ; Tue, 25 Apr 2023 12:21:54 +0200 (CEST) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS for ; Tue, 25 Apr 2023 12:21:53 +0200 (CEST) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id E09B14543A for ; Tue, 25 Apr 2023 12:21:52 +0200 (CEST) From: Markus Frank To: pve-devel@lists.proxmox.com Date: Tue, 25 Apr 2023 12:21:30 +0200 Message-Id: <20230425102136.85334-1-m.frank@proxmox.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL -0.056 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record T_SCC_BODY_TEXT_LINE -0.01 - URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [directory.pm, qemuserver.pm, nodes.pm, rpcenvironment.pm, qemu.pm, accesscontrol.pm, dirconfig.pm] Subject: [pve-devel] [PATCH docs v4 0/6] feature #1027 virtio-9p/virtio-fs X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2023 10:22:24 -0000 pve-docs: Markus Frank (1): added shared filesystem doc for virtio-fs & virtio-9p qm.adoc | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) pve-access-control: v3: * replaced /dirs with /map/dirs/ v2: * admin gives access via an ACL (/dirs/) Markus Frank (1): added acls for Shared Files Directories src/PVE/API2/Directory.pm | 68 +++++++++++++++++++++++++++++++++++++++ src/PVE/AccessControl.pm | 16 +++++++++ src/PVE/RPCEnvironment.pm | 12 ++++++- 3 files changed, 95 insertions(+), 1 deletion(-) create mode 100644 src/PVE/API2/Directory.pm pve-manager: v4: * moved extract_dir_path from qemu-server to DirConfig in pve-manager v2: * admins define dirs on the host that are eligibly for mounting into guests (: /path/tp/share) Markus Frank (3): added Config for Shared Filesystem Directories added Shared Files tab in Node Settings added options to add virtio-9p & virtio-fs Shared Filesystems to qemu config PVE/API2/DirConfig.pm | 129 +++++++++++++++++++ PVE/API2/Makefile | 1 + PVE/API2/Nodes.pm | 6 + PVE/DirConfig.pm | 155 +++++++++++++++++++++++ PVE/Makefile | 1 + www/manager6/Makefile | 2 + www/manager6/Utils.js | 1 + www/manager6/data/PermPathStore.js | 3 + www/manager6/node/Config.js | 12 ++ www/manager6/node/SharedFiles.js | 177 +++++++++++++++++++++++++++ www/manager6/qemu/HardwareView.js | 19 +++ www/manager6/qemu/SharedFilesEdit.js | 101 +++++++++++++++ 12 files changed, 607 insertions(+) create mode 100644 PVE/API2/DirConfig.pm create mode 100644 PVE/DirConfig.pm create mode 100644 www/manager6/node/SharedFiles.js create mode 100644 www/manager6/qemu/SharedFilesEdit.js qemu-server: v4: * moved extract_dir_path from qemu-server to DirConfig v3: * created own socket and get file descriptor for virtiofsd so there is no race between starting virtiofsd & qemu * added TODO to replace virtiofsd with rust implementation in bookworm (I packaged the rust implementation for bookworm & the C implementation in qemu will be removed in qemu 8.0) v2: * replaced sharedfiles_fmt path in qemu-server with dirid: * user can use the dirid to specify the directory without requiring root access Markus Frank (1): feature #1027: virtio-9p & virtio-fs support PVE/API2/Qemu.pm | 19 +++++++ PVE/QemuServer.pm | 141 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 160 insertions(+) -- 2.30.2