From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id 688381FF133 for ; Mon, 27 Apr 2026 14:18:16 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id C9E0C1B799; Mon, 27 Apr 2026 14:18:14 +0200 (CEST) From: Markus Frank To: pve-devel@lists.proxmox.com Subject: [PATCH guest-common/qemu-server/docs/manager v3 0/11] Virtiofs improvements Date: Mon, 27 Apr 2026 14:16:49 +0200 Message-ID: <20260427121746.270544-1-m.frank@proxmox.com> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1777292194534 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.008 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 Message-ID-Hash: K4NZXYR6QMFYZD4OUR7JC27IKDZOBKB6 X-Message-ID-Hash: K4NZXYR6QMFYZD4OUR7JC27IKDZOBKB6 X-MailFrom: m.frank@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: It seems the migration-mode find-paths is enabled by default: https://gitlab.com/virtio-fs/virtiofsd/-/blob/main/src/main.rs?ref_type=heads#L359 I would still disable live migration by default on our side so that users have to actively choose the migration mode and learn about the limitations and risks. The VM and virtiofsd needs to be stopped and started again for the migration mode change to take effect. overall v3 changes: * improved code based on Daniel Kral's review on v2, see individual patches * always start virtiofsd with '--migration-on-error=guest-error' as a safety measure * improved the warning messages in pve-manager * added readonly to parameter description table in the pve-docs patch guest-common: Markus Frank (1): mapping: dir: add 'live-migration-method' parameter src/PVE/Mapping/Dir.pm | 11 +++++++++++ 1 file changed, 11 insertions(+) qemu-server: Markus Frank (3): fix #6370: virtiofs: add support for thread-pool-size option virtiofs: add readonly option virtiofs: add live migration support src/PVE/QemuMigrate/Helpers.pm | 14 +++++++++++--- src/PVE/QemuServer/Virtiofs.pm | 35 ++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+), 3 deletions(-) docs: Markus Frank (4): virtiofs: add explanation for cache=metadata behavior virtiofs: add table for optional parameters virtiofs: add description for thread-pool-size and readonly virtiofs: add documentation for live migration qm.adoc | 53 +++++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 45 insertions(+), 8 deletions(-) manager: Markus Frank (3): fix #6370: ui: virtiofs edit: add support for thread-pool-size option virtiofs edit: add support for readonly option directory mapping: add live-migration-method option for virtiofs www/manager6/Makefile | 1 + www/manager6/Messages.js | 15 ++++++++ www/manager6/dc/DirMapView.js | 8 ++++ www/manager6/qemu/VirtiofsEdit.js | 15 ++++++++ www/manager6/window/DirMapEdit.js | 63 +++++++++++++++++++++++++++++-- www/manager6/window/Migrate.js | 13 +++++++ 6 files changed, 112 insertions(+), 3 deletions(-) create mode 100644 www/manager6/Messages.js -- 2.47.3