From: Filip Schauer <f.schauer@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: Re: [pve-devel] [PATCH docs/qemu-server/manager v17 0/10] Virtio-fs
Date: Mon, 7 Apr 2025 16:31:52 +0200 [thread overview]
Message-ID: <27d1b340-a527-4b66-929d-d7393eeab3d4@proxmox.com> (raw)
In-Reply-To: <20250407134950.265270-1-m.frank@proxmox.com>
Tested on a fresh proxmox-ve_8.4-ALPHA-1.iso install.
Configured a directory mapping and passed it to a Debian VM with the
default settings. Inside the VM I mounted the directory using
`mount -t virtiofs dirid /mnt/path`.
Writing some data to the directory from inside the VM with
`dd if=/dev/urandom of=/mnt/path/bench bs=1M` was decently fast:
190 MB/s
On 07/04/2025 15:49, Markus Frank wrote:
> Virtio-fs is a shared file system that enables sharing a directory
> between host and guest VMs. It takes advantage of the locality of
> virtual machines and the hypervisor to get a higher throughput than
> the 9p remote file system protocol.
>
> build-order:
> 1. cluster
> 2. guest-common
> 3. docs
> 4. qemu-server
> 5. manager
>
> I did not get virtiofsd to run with run_command without creating
> zombie processes after stutdown. So I replaced run_command with exec
> for now. Maybe someone can find out why this happens.
>
>
> v17:
> * qemu-server:
> * d/control: 'virtiofsd' in Recommends instead of Depends
> * added check if virtiofsd is installed
> * pve-manager:
> * moved directory mapping in its own tab to save vertical space in the
> "Resource Mappings" tab - discussed off-list with Dominik
>
>
> docs:
>
> Markus Frank (1):
> add doc section for the shared filesystem virtio-fs
>
> qm.adoc | 102 ++++++++++++++++++++++++++++++++++++++++++++++++++++++--
> 1 file changed, 100 insertions(+), 2 deletions(-)
>
>
>
> qemu-server:
>
> Markus Frank (4):
> d/control: add virtiofsd to recommends for qemu-server
> fix #1027: virtio-fs support
> migration: check_local_resources for virtiofs
> disable snapshot (with RAM) and hibernate with virtio-fs devices
>
> PVE/API2/Qemu.pm | 41 ++++++-
> PVE/QemuServer.pm | 42 ++++++-
> PVE/QemuServer/Makefile | 3 +-
> PVE/QemuServer/Memory.pm | 25 +++--
> PVE/QemuServer/Virtiofs.pm | 212 +++++++++++++++++++++++++++++++++++
> debian/control | 5 +-
> test/MigrationTest/Shared.pm | 7 ++
> 7 files changed, 320 insertions(+), 15 deletions(-)
> create mode 100644 PVE/QemuServer/Virtiofs.pm
>
>
>
> manager:
>
> Markus Frank (5):
> api: add resource map api endpoints for directories
> ui: add edit window for dir mappings
> ui: add resource mapping view for directories
> ui: form: add selector for directory mappings
> ui: add options to add virtio-fs to qemu config
>
> PVE/API2/Cluster/Mapping.pm | 7 +
> PVE/API2/Cluster/Mapping/Dir.pm | 308 ++++++++++++++++++++++++++++
> PVE/API2/Cluster/Mapping/Makefile | 1 +
> www/manager6/Makefile | 4 +
> www/manager6/Utils.js | 1 +
> www/manager6/dc/Config.js | 6 +
> www/manager6/dc/DirMapView.js | 38 ++++
> www/manager6/form/DirMapSelector.js | 63 ++++++
> www/manager6/qemu/HardwareView.js | 19 ++
> www/manager6/qemu/VirtiofsEdit.js | 143 +++++++++++++
> www/manager6/window/DirMapEdit.js | 204 ++++++++++++++++++
> 11 files changed, 794 insertions(+)
> create mode 100644 PVE/API2/Cluster/Mapping/Dir.pm
> create mode 100644 www/manager6/dc/DirMapView.js
> create mode 100644 www/manager6/form/DirMapSelector.js
> create mode 100644 www/manager6/qemu/VirtiofsEdit.js
> create mode 100644 www/manager6/window/DirMapEdit.js
>
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
next prev parent reply other threads:[~2025-04-07 14:32 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-07 13:49 Markus Frank
2025-04-07 13:49 ` [pve-devel] [PATCH docs v17 1/10] add doc section for the shared filesystem virtio-fs Markus Frank
2025-04-07 13:49 ` [pve-devel] [PATCH qemu-server v17 2/10] d/control: add virtiofsd to Recommends for qemu-server Markus Frank
2025-04-07 13:49 ` [pve-devel] [PATCH qemu-server v17 3/10] fix #1027: virtio-fs support Markus Frank
2025-04-07 13:49 ` [pve-devel] [PATCH qemu-server v17 4/10] migration: check_local_resources for virtiofs Markus Frank
2025-04-07 13:49 ` [pve-devel] [PATCH qemu-server v17 5/10] disable snapshot (with RAM) and hibernate with virtio-fs devices Markus Frank
2025-04-07 13:49 ` [pve-devel] [PATCH manager v17 06/10] api: add resource map api endpoints for directories Markus Frank
2025-04-07 13:49 ` [pve-devel] [PATCH manager v17 07/10] ui: add edit window for dir mappings Markus Frank
2025-04-07 13:49 ` [pve-devel] [PATCH manager v17 08/10] ui: add resource mapping view for directories Markus Frank
2025-04-07 13:49 ` [pve-devel] [PATCH manager v17 09/10] ui: form: add selector for directory mappings Markus Frank
2025-04-07 13:49 ` [pve-devel] [PATCH manager v17 10/10] ui: add options to add virtio-fs to qemu config Markus Frank
2025-04-07 22:42 ` Thomas Lamprecht
2025-04-08 6:54 ` Dominik Csapak
2025-04-07 14:31 ` Filip Schauer [this message]
2025-04-07 22:52 ` [pve-devel] [PATCH docs/qemu-server/manager v17 0/10] Virtio-fs Thomas Lamprecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=27d1b340-a527-4b66-929d-d7393eeab3d4@proxmox.com \
--to=f.schauer@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal