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 BC13E90D63 for ; Fri, 31 Mar 2023 13:17:15 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 8075126FEF for ; Fri, 31 Mar 2023 13:16:45 +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 ; Fri, 31 Mar 2023 13:16:44 +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 DB741431D3 for ; Fri, 31 Mar 2023 13:16:42 +0200 (CEST) From: Markus Frank To: pve-devel@lists.proxmox.com Date: Fri, 31 Mar 2023 13:16:08 +0200 Message-Id: <20230331111614.95981-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.072 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 Subject: [pve-devel] [PATCH docs/acces-control/manager/qemu-server v3 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: Fri, 31 Mar 2023 11:17:15 -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: 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 | 139 +++++++++++++++++++++ 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, 591 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: 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 | 20 +++++- PVE/QemuServer.pm | 158 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 177 insertions(+), 1 deletion(-) -- 2.30.2