[pve-devel] applied: [PATCH mini-journalreader v3] fix #6410: properly close json output on error

2025-06-03 Thread Thomas Lamprecht
On Tue, 03 Jun 2025 10:52:47 +0200, Dominik Csapak wrote: > when encountering an error (e.g. there was no curser at the wanted > position), the program would close with exitcode 1, but would not > properly finish the json output if in json mode. > > To fix that, introduce a `print_error_and_exit`

[pve-devel] [PATCH proxmox_dart_api_client 1/1] fix: add missing `prelaunch` value to `PveResourceStatusType`

2025-06-03 Thread Shan Shaji
Updates the `PveResourceStatusType` enum with `prelaunch` option. Also adds the status checks in `getStatus` and `getQemuStatus` functions. The changes are necessary inorder to show the `prelaunch` status in the qemu overview page and in the resources tab view. Signed-off-by: Shan Shaji --- lib/

[pve-devel] [PATCH pve_flutter_frontend 1/1] fix: qemu: `unknown` status shown when VM is in `prelaunch` status

2025-06-03 Thread Shan Shaji
When the VM starts up, if the `Freeze CPU at startup` option value is set to `true` the VM status is shown as `unknown`. However when testing the same on web UI, the UI shows the `prelaunch` status when hovering over the VM. Additionally the resume option is missing in the app UI, which should hav

[pve-devel] [PATCH proxmox_dart_api_client/pve_flutter_frontend 0/2] fix: ui: `unknown` status shown when the QEMU state is `prelaunch`

2025-06-03 Thread Shan Shaji
This patch series fixes an issue where the VM status was shown as `unknown` when the QEMU state is `prelaunch`. Additionaly, also fixes the resume option missing inside the power settings sheet when the QEMU state is `prelaunch`. Steps to reproduce: - Select any VM - Go to the options tab.

[pve-devel] [PATCH pve-docs v8] fix #5644: Moved the section on swap partitions

2025-06-03 Thread Alexander Abraham
The section on running swap on ZFS was split into two parts. The part describing setting the swappiness level was moved to a separate file and the part about creating swap partitions on a ZFS volume was replaced with a warning about doing so. Signed-off-by: Alexander Abraham --- Changes in v8:

[pve-devel] [PATCH manager 1/2] ui: add dedicated form for PBS change detecton mode selector

2025-06-03 Thread Christian Ebner
Reduce duplicate code by merging common parts of the change detection mode selector. Allows to control a common selector used by the advanced options of the backup job and the window for one-shot backup runs in one place. No functional changes intended. Signed-off-by: Christian Ebner --- NOTE: A

[pve-devel] [PATCH manager 2/2] ui: switch default and extend options for PBS change detection mode

2025-06-03 Thread Christian Ebner
Switch the current implied default `legacy` option with the new default value `metadata`, as set by vzdump. Further, allow to switch back to the previous default by adding the `legacy` option and keep the `metadata` mode as separate, dedicated option so pre-exiting backup job configurations still

[pve-devel] [PATCH container/manager 0/3] vzdump: Switch default PBS change detection mode

2025-06-03 Thread Christian Ebner
Switch the default change detection mode used by vzdump for container backups with PBS storage target from the current `legacy` to the `metadata` mode. The `legacy` mode was kept to avoid a breaking change in backup behavior. With the upcoming PVE 9, switch the default to the `metadata` mode, so a

[pve-devel] [PATCH container 1/1] vzdump: switch default PBS change detection mode to `metadata`

2025-06-03 Thread Christian Ebner
Since commit 58839940 ("vzdump: conditionally set PBS change detection mode option") it is possible to perform container backups with Proxmox Backup Server as target using additional `data` and `metadata` modes provided by the Proxmox Backup client. While the `metadata` mode was introduced to spee

[pve-devel] [PATCH pve-docs v7] fix #5644: Moved the section on swap partitions

2025-06-03 Thread Alexander Abraham
The section on running swap on ZFS was split into two parts. The part describing setting the swappiness level was moved to a separate file and the part about creating swap partitions on a ZFS volume was replaced with a warning about doing so. Signed-off-by: Alexander Abraham Changes in v7: * Kee

[pve-devel] [PATCH http-server 3/3] formatter: html: update to bootstrap 5

2025-06-03 Thread Dominik Csapak
this makes a few changes necessary, but not too much: * include the different directory for bootstrap5 * use different navbar markup * different classes for navbar container + items * add classes to pre tag since it's not styled anymore in newer bootstrap versions * add 'form-label' to labels * u

[pve-devel] [PATCH http-server 2/3] formatter: html: fix logout button

2025-06-03 Thread Dominik Csapak
in commit d0f4b94 (fix regression in api/html (bootstrap) viewer) the $unsafe parameter of uri_escape_utf8 was corrected. This unintentionally also escapes the 'onclick' content of the logout button, making it not valid javascript code and thus would not execute. The commit talks about it being

[pve-devel] [PATCH http-server 1/3] formatter: html: remove unused code

2025-06-03 Thread Dominik Csapak
the console js code was added in 63307be (add generic formatter framework in January 2017 and marked to be removed (in the FIXME) with 6189d2e (Formatter/Bootstrap.pm; use configured cookie_name) a day later. This was never used, so simply remove it. Signed-off-by: Dominik Csapak --- src/PVE/

Re: [pve-devel] [PATCH pve-network v5 1/2] ipam: add Nautobot plugin

2025-06-03 Thread Hannes Duerr
On 5/28/25 11:32, Stefan Hanreich wrote: Tested the following things and they worked: * Create a new simple zone with Nautobot IPAM * Create a VNet with a Subnet + GW -> IP allocated * Create a VM on that VNet -> IP allocated * Create a CT on that VNet -> IP allocated * Change network device to

Re: [pve-devel] [PATCH proxmox_login_manager v2 2/2] fix #6409: add `isDefaultRealm` check to pre-select realm in login form

2025-06-03 Thread Shan Shaji
superseeded by v3: https://lore.proxmox.com/pve-devel/20250603122037.158232-1-s.sh...@proxmox.com/T/#t ___ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] [PATCH proxmox_dart_api_client v3 1/1] fix #6409: add `default` property to `PveAccessDomainModel`

2025-06-03 Thread Shan Shaji
When the default property was selected inside the realm of the web UI, the app's login page was not showing the default realm instead, it was always showing PAM. Add `default` property and a getter boolean that internally checks if the realm is default. This boolean is used inside `pve_login_form.

[pve-devel] [PATCH qemu-server 01/13] blockdev: cmdline: add blockdev syntax support

2025-06-03 Thread Alexandre Derumier via pve-devel
--- Begin Message --- use the blockdev syntax for machine_type > 10.0 only The blockdev chain is: -throttle-group-node (drive-(ide|scsi|virtio)x) - format-node (fmt-drive-x) - file-node (file-drive -x) Volumes activation is done earlier now, at config_to_command, as we need it for fi

[pve-devel] [PATCH proxmox_login_manager v3 1/1] fix #6409: add `isDefaultRealm` check to pre-select realm in login form

2025-06-03 Thread Shan Shaji
When the `default` property was selected inside the realm of the web UI, the app's login page was not showing the default realm instead, it was always showing PAM. Add `isDefaultRealm` boolean check to find the default realm. Also the user's selection will have priority if a realm is already saved

[pve-devel] [PATCH proxmox{_login_manager, _dart_api_client} v3 0/2] fix #6409: login manager doesn't pre-selects default authentication realm

2025-06-03 Thread Shan Shaji
When the `default` property was selected inside the realm of the web UI, the app's login page was not showing the default realm instead, it was always showing PAM. To reproduce, follow the following steps: on the web UI go to Datacenter -> Realms and edit another realm than PAM, like PVE. There

Re: [pve-devel] [PATCH ve-rs/firewall/qemu-server/manager v2 00/13] fix #5180: migrate conntrack state on live migration

2025-06-03 Thread Stefan Hanreich
Gave this a spin on my test cluster, and it worked as advertised. As already mentioned and talked off-list we should imo add documentation for this setting and mention the current restrictions (no migration of NAT entries). We might also want to mention that only CT entries created *after* the fire

Re: [pve-devel] [PATCH proxmox_login_manager v2 2/2] fix #6409: add `isDefaultRealm` check to pre-select realm in login form

2025-06-03 Thread Shan Shaji
Thank you for catching that. Will create another patch. On Tue Jun 3, 2025 at 11:48 AM CEST, Michael Köppl wrote: > On 5/26/25 17:41, Shan Shaji wrote: > > When the `default` property was selected inside the realm of the web > > UI, the app's login page was not showing the default realm instead,

Re: [pve-devel] [PATCH proxmox_login_manager v2 2/2] fix #6409: add `isDefaultRealm` check to pre-select realm in login form

2025-06-03 Thread Michael Köppl
On 5/26/25 17:41, Shan Shaji wrote: > When the `default` property was selected inside the realm of the web > UI, the app's login page was not showing the default realm instead, > it was always showing PAM. > > This commit adds the `isDefaultRealm` boolean check to find the > default realm. nit: c

Re: [pve-devel] [PATCH manager v2 13/13] ui: window: Migrate: add checkbox for migrating VM conntrack state

2025-06-03 Thread Stefan Hanreich
On 4/24/25 13:19, Christoph Heiss wrote: > Adds a new checkbox to the migration dialog, if it is a > live/online-migration and both the source and target nodes have support > for our dbus-vmstate helper. > > If the checkbox is active, it passes along the `with-conntrack-state` > parameter to th

Re: [pve-devel] [PATCH qemu-server v2 7/13] fix #5180: libexec: add QEMU dbus-vmstate daemon for migrating conntrack

2025-06-03 Thread Stefan Hanreich
On 4/24/25 13:19, Christoph Heiss wrote: > First part to fixing #5180 [0]. > > Adds a simple D-Bus server which implements the `org.qemu.VMState1` > interface as specified in the QEMU documentation [1]. > > Using the built-in QEMU VMState machinery saves us from having to worry > about transfe

[pve-devel] [PATCH proxmox v3 1/1] fix #5076: Added logic to handle OIDC audiences

2025-06-03 Thread Alexander Abraham
A field for OIDC audiences was added, logic to handle these audiences, and the audiences supplied by an OIDC IDP are validated against the audiences a user saves in their realm domains configuration. Signed-off-by: Alexander Abraham --- proxmox-openid/src/lib.rs | 20 ++-- 1 file

[pve-devel] [PATCH pve-access-control v3 1/1] fix #5076: Added an optional "audiences" field

2025-06-03 Thread Alexander Abraham
An optional "audiences" field was added to the schema to accept an array of strings for any audiences communicated by using an Open ID realm in PVE. Signed-off-by: Alexander Abraham --- src/PVE/API2/OpenId.pm | 463 +++-- src/PVE/Auth/OpenId.pm | 141 +++--

[pve-devel] [PATCH pve-manager v3 1/1] fix #5076: Added an "audiences" field for Open ID

2025-06-03 Thread Alexander Abraham
A field for audiences for OpenId was added for users to supply Open ID audiences as a space-separated array of strings in their realm configuration. This array of audiences is then saved in the realm domains config file. Signed-off-by: Alexander Abraham --- www/manager6/Parser.js| 27

[pve-devel] [PATCH access-control/manager/proxmox v3 0/3] fix #5076: Added Open ID audiences

2025-06-03 Thread Alexander Abraham
This series adds support for handling Open ID audiences as described in bug #5076. PVE's API schema was updated to accept an optional field, an array of strings and the Rust code was also updated to accordingly handle any incoming audiences and compare them to the realm config's audiences. In the r

[pve-devel] applied: [pbs-devel] [PATCH proxmox-backup/proxmox-backup-restore-image] update and adapt to ZFS 2.3 and kernel 6.14

2025-06-03 Thread Fabian Grünbichler
On Mon, 02 Jun 2025 11:47:50 +0200, Stoiko Ivanov wrote: > While checking our codebase for potential uses of non-usr-merged paths > for ZFS I noticed the file-restore uses absolute paths for most commands. > > As the daemon runs in an isolated environment we provide sticking to > absolute paths,

Re: [pve-devel] [PATCH mini-journalreader v2 1/2] fix #6410: properly close json output on error

2025-06-03 Thread Dominik Csapak
superseeded by v3: https://lore.proxmox.com/pve-devel/20250603085247.917673-1-d.csa...@proxmox.com/T/#u ___ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] [PATCH mini-journalreader v3] fix #6410: properly close json output on error

2025-06-03 Thread Dominik Csapak
when encountering an error (e.g. there was no curser at the wanted position), the program would close with exitcode 1, but would not properly finish the json output if in json mode. To fix that, introduce a `print_error_and_exit` helper that tries to finish the json output. We set `success` to 0 t

Re: [pve-devel] [PATCH proxmox v2 1/1] fix #5076: Added logic to handle OIDC audiences

2025-06-03 Thread Shannon Sterz
On Mon Jun 2, 2025 at 4:14 PM CEST, Alexander Abraham wrote: > A field for OIDC audiences was added, logic to handle these audiences, > and the audiences supplied by an OIDC IDP are validated against > the audiences a user saves in their realm domains > configuration. > > Signed-off-by: Alexander A

[pve-devel] [PATCH manager] pveversion: track proxmox-backup-restore-image

2025-06-03 Thread Maximiliano Sandoval
Useful to detect whether a system is running version 0.6.0 or 0.6.1 of the package which changed to the `ntfs3` driver from the `ntfs` driver. Signed-off-by: Maximiliano Sandoval --- PVE/API2/APT.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/PVE/API2/APT.pm b/PVE/API2/APT.pm index 99c2e

[pve-devel] [PATCH pve-storage 6/9] storage: volume_snapshot: add $running param + api bump

2025-06-03 Thread Alexandre Derumier via pve-devel
--- Begin Message --- This add a $running param to volume_snapshot, it can be used if some extra actions need to be done at the storage layer when the snapshot has already be done at qemu level. Note: zfs && rbd plugins already used this param in create_base, but it was not implemented in volume_s

[pve-devel] [PATCH pve-storage 4/9] common: add qemu_img_measure

2025-06-03 Thread Alexandre Derumier via pve-devel
--- Begin Message --- Signed-off-by: Alexandre Derumier --- src/PVE/Storage/Common.pm | 40 +++ 1 file changed, 40 insertions(+) diff --git a/src/PVE/Storage/Common.pm b/src/PVE/Storage/Common.pm index 25f5d28..11b5b94 100644 --- a/src/PVE/Storage/Common.pm ++

Re: [pve-devel] [PATCH proxmox_dart_api_client/pve_flutter_frontend v2 0/3] fix: ui: guest missing in resources tab when status is `paused`

2025-06-03 Thread Michael Köppl
Thanks for tackling this! Definitely improves the UX. I tested this in my Android emulator. Paused guests were displayed with the correct status instead of "Unknown" and I was able to filter for the "Paused" status. Did not notice anything off. Well done! I left some minor comments on the individu

Re: [pve-devel] [PATCH pve_flutter_frontend v2 1/2] refactor: move and split the `_MobileResourceFilterSheet` widget

2025-06-03 Thread Michael Köppl
I think it's a good change. The MainLayoutSlim class is already more than big enough. On 6/2/25 15:37, Shan Shaji wrote: > This patch splits the `_MobileResourceFilterSheet` into multiple widgets > and since the `main_layout_slim.dart` file is large, the widget has been > moved to it's own file un

[pve-devel] [PATCH qemu-server 12/13] blockdev: add backing_chain support

2025-06-03 Thread Alexandre Derumier via pve-devel
--- Begin Message --- We need to define name-nodes for all backing chain images, to be able to live rename them with blockdev-reopen For linked clone, we don't need to definebase image(s) chain. They are auto added with #block nodename. Signed-off-by: Alexandre Derumier --- PVE/QemuServer/Block

Re: [pve-devel] [RFC v2 qemu/storage 00/10] storage plugin method to get qemu blockdevice options for volume

2025-06-03 Thread Fiona Ebner
Am 02.06.25 um 18:24 schrieb DERUMIER, Alexandre via pve-devel: >>> >>> * Drop $snapshot parameter, currently there is no need to attach >>> snapshots via -blockdev. They would need to be attached read-only >>> too to not fail and this can always be added later. > > >>> I need it in different

Re: [pve-devel] [PATCH pve_flutter_frontend v2 2/2] fix: ui: guests missing in resources tab when status is `paused`

2025-06-03 Thread Michael Köppl
On 6/2/25 15:37, Shan Shaji wrote: > When the guest status is set to `paused` the guest was not showing in > the resources tab. Also there were no option in the resources > filter to select the `paused` status under the status section. The first sentence confused me a bit. The resource tab seems t

Re: [pve-devel] [RFC PATCH mini-journalreader v2 2/2] include error in json output

2025-06-03 Thread Dominik Csapak
on second though, we only ever print unknown strings from strerror here, which should be ascii only? so using our already existing escaping of quotes and control characters should be enough... will send a v3 that combines these things and drops the dependency on json-c... __

[pve-devel] [PATCH pve-storage 3/9] common: add qemu_img_info helper

2025-06-03 Thread Alexandre Derumier via pve-devel
--- Begin Message --- Signed-off-by: Alexandre Derumier --- src/PVE/Storage/Common.pm | 35 +++ src/PVE/Storage/Plugin.pm | 19 +-- 2 files changed, 36 insertions(+), 18 deletions(-) diff --git a/src/PVE/Storage/Common.pm b/src/PVE/Storage/Common.p

[pve-devel] [PATCH pve-storage 8/9] lvmplugin: add qcow2 snapshot

2025-06-03 Thread Alexandre Derumier via pve-devel
--- Begin Message --- we format lvm logical volume with qcow2 to handle snapshot chain. like for qcow2 file, when a snapshot is taken, the current lvm volume is renamed to snap volname, and a new current lvm volume is created with the snap volname as backing file Signed-off-by: Alexandre Derumier

[pve-devel] [PATCH qemu-server 02/13] blockdev: add support for ovmf && efidisk

2025-06-03 Thread Alexandre Derumier via pve-devel
--- Begin Message --- for raw format, use offset=0 && size=$ovmf_size Signed-off-by: Alexandre Derumier --- PVE/QemuServer.pm | 63 +-- PVE/QemuServer/Blockdev.pm| 22 +-- test/cfg2cmd/efi-raw-template.conf.cmd| 7 ++-

[pve-devel] [PATCH pve-storage 7/9] qcow2: add external snapshot support

2025-06-03 Thread Alexandre Derumier via pve-devel
--- Begin Message --- add a snapext option to enable the feature When a snapshot is taken, the current volume is renamed to snap volname and a current image is created with the snap volume as backing file Signed-off-by: Alexandre Derumier --- src/PVE/Storage.pm | 1 - src/PVE/Storag

[pve-devel] [PATCH pve-storage 9/9] storage: add volume_support_qemu_snapshot

2025-06-03 Thread Alexandre Derumier via pve-devel
--- Begin Message --- Returns if the volume is supporting qemu snapshot: 'internal' : do the snapshot with qemu internal snapshot 'external' : do the snapshot with qemu external snapshot undef : does not support qemu snapshot Signed-off-by: Alexandre Derumier --- src/PVE/Storage.pm

[pve-devel] [PATCH qemu-server 09/13] blockdev: add blockdev_mirror

2025-06-03 Thread Alexandre Derumier via pve-devel
--- Begin Message --- FIXME: port qemu bitmap drive-mirror patch to blockdev-mirror Signed-off-by: Alexandre Derumier --- PVE/QemuMigrate.pm| 2 +- PVE/QemuServer.pm | 115 ++ test/MigrationTest/QemuMigrateMock.pm | 10 ++- 3

[pve-devel] [PATCH qemu-server 11/13] qemu_img convert : add external snapshot support

2025-06-03 Thread Alexandre Derumier via pve-devel
--- Begin Message --- for external snapshot, we simply use snap volname as src. don't use internal snapshot option in the command line. Signed-off-by: Alexandre Derumier --- PVE/QemuServer.pm | 4 ++- test/run_qemu_img_convert_tests.pl | 44 ++ 2 fil

[pve-devel] [PATCH qemu-server 10/13] blockdev: change aio on target if io_uring is not default.

2025-06-03 Thread Alexandre Derumier via pve-devel
--- Begin Message --- This was a limitation of drive-mirror, blockdev mirror is able to reopen image with a different aio. Do the change when generating the blockdev_format Signed-off-by: Alexandre Derumier --- PVE/QemuServer.pm | 9 ++--- PVE/QemuServer/Blockdev.pm | 3 +++ 2 file

[pve-devel] [PATCH qemu-server 08/13] blockdev: add support for nbd_export: block-export-add

2025-06-03 Thread Alexandre Derumier via pve-devel
--- Begin Message --- simply use the "drive-$id" top node Signed-off-by: Alexandre Derumier --- PVE/QemuServer.pm | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 04e71fb6..8e48f52b 100644 --- a/PVE/QemuServer.pm +++

[pve-devel] [PATCH pve-storage 5/9] rename_volume: add source && target snap

2025-06-03 Thread Alexandre Derumier via pve-devel
--- Begin Message --- allow to rename from|to external snapshot volname Signed-off-by: Alexandre Derumier --- src/PVE/Storage.pm | 4 ++-- src/PVE/Storage/LVMPlugin.pm | 8 ++-- src/PVE/Storage/Plugin.pm| 5 - 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/

[pve-devel] [PATCH qemu-server 04/13] blockdev: add support to qemu_driveadd && qemu_drivedel

2025-06-03 Thread Alexandre Derumier via pve-devel
--- Begin Message --- fixme: - backup seem to use a tpmstate0-backup drive. Not sure how it's works, but I think it could be converted to blockdev too - verify drivedel with fleecing temp image Signed-off-by: Alexandre Derumier --- PVE/QemuServer.pm | 93 ++

[pve-devel] [PATCH qemu-server 03/13] blockdev: vm_devices_list : fix block-query

2025-06-03 Thread Alexandre Derumier via pve-devel
--- Begin Message --- Look at qdev value, as cdrom drives can be empty without any inserted media Signed-off-by: Alexandre Derumier --- PVE/QemuServer.pm | 17 ++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index a27dcabb..b

[pve-devel] [PATCH pve-qemu 1/1] add fake 10.0

2025-06-03 Thread Alexandre Derumier via pve-devel
--- Begin Message --- Signed-off-by: Alexandre Derumier --- debian/changelog | 6 + .../extra/0001-bump-version-to-10.0.0.patch | 19 ++ ...438a42f7a178504347456b9e50e3d2c50478.patch | 247 ++ ...b0606879ddeddf04bcf8440aabcfe1393b9c.patch | 120 ++

[pve-devel] [PATCH qemu-server 13/13] qcow2: add external snapshot support

2025-06-03 Thread Alexandre Derumier via pve-devel
--- Begin Message --- fixme: - add test for internal (was missing) && external qemu snapshots - is it possible to use blockjob transactions for commit && steam for atomatic disk commit ? Signed-off-by: Alexandre Derumier --- PVE/QemuConfig.pm | 4 +- PVE/QemuServer.pm |

[pve-devel] [PATCH-SERIES v6 pve-storage/qemu-server/pve-qemu] add external qcow2 snapshot support

2025-06-03 Thread Alexandre Derumier via pve-devel
--- Begin Message --- This patch series implement qcow2 external snapshot support for files && lvm volumes The current internal qcow2 snapshots have bad write performance because no metadatas can be preallocated. This is particulary visible on a shared filesystem like ocfs2 or gfs2. Also other

[pve-devel] [PATCH pve-storage 1/9] common: add qemu_img_create an preallocation_cmd_option

2025-06-03 Thread Alexandre Derumier via pve-devel
--- Begin Message --- Signed-off-by: Alexandre Derumier --- src/PVE/Storage/Common.pm | 72 ++ src/PVE/Storage/GlusterfsPlugin.pm | 2 +- src/PVE/Storage/Plugin.pm | 47 +-- 3 files changed, 74 insertions(+), 47 deletions(-) diff --g

[pve-devel] [PATCH qemu-server 07/13] blockdev: add support for block_resize

2025-06-03 Thread Alexandre Derumier via pve-devel
--- Begin Message --- We need to use the top blocknode (throttle) as name-node Signed-off-by: Alexandre Derumier --- PVE/QemuServer.pm | 25 ++--- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 8e1369fc..04e71fb6 100

[pve-devel] [PATCH qemu-server 06/13] blockdev: add support for cdrom media eject/insert

2025-06-03 Thread Alexandre Derumier via pve-devel
--- Begin Message --- reuse the code for cloud-init too Signed-off-by: Alexandre Derumier --- PVE/QemuServer.pm | 79 ++- 1 file changed, 43 insertions(+), 36 deletions(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 0af091aa..8e1369fc 100

[pve-devel] [PATCH qemu-server 05/13] blockdev: add support to qemu_block_set_io_throttle

2025-06-03 Thread Alexandre Derumier via pve-devel
--- Begin Message --- Signed-off-by: Alexandre Derumier --- PVE/QemuServer.pm | 71 +-- 1 file changed, 50 insertions(+), 21 deletions(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index fa072fca..0af091aa 100644 --- a/PVE/QemuServer.pm +++ b/P

[pve-devel] [PATCH pve-storage 2/9] common: add qemu_img_create_qcow2_backed

2025-06-03 Thread Alexandre Derumier via pve-devel
--- Begin Message --- and use it for plugin linked clone This also enable extended_l2=on, as it's mandatory for backing file preallocation. Preallocation was missing previously, so it should increase performance for linked clone now (around x5 in randwrite 4k) cluster_size is set to 128k, as it