--- Begin Message ---
On 8/4/25 10:14 AM, Fiona Ebner wrote:
blockdev_add()/Blockdev::attach() are only called for hot-plugged disks,
not disks already present at start-up time. You either need to set the
threshold as part of the blockdev options in the generate_*_blockdev()
functions (if that is possible, would be preferred) or issue the QMP
commands for the initially present disks right after VM start (in
vm_start_nolock(), we already do something similar for ballooning).
AFAIK the write threshold cannot be set when the blockdev is created, at
least for now. As you suggested, I was able to loop over every volume in
vm_start_lock() and the threshold is being set correctly.
Thanks!
Best regards,
Tiago
--- End Message ---
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel