[pve-devel] applied-series: [PATCH qemu-server 1/2] backup: prepare: fix format detection for disks without storage ID

Thomas Lamprecht t.lamprecht at proxmox.com
Mon Mar 27 11:40:13 CEST 2023


Am 27/03/2023 um 11:01 schrieb Fiona Ebner:
> which is the case for passed-through disks. The qemu_img_format()
> function cannot correctly handle those, and it's not safe to assume
> they are raw (it's most likely, but not guaranteed), so just use the
> storage method for the format like it was done before commit
> efa3aa24 ("avoid list context for volume_size_info calls"). This will
> use 'qemu-img info' to get the actual format.
> 
> Reported in the community forum:
> https://forum.proxmox.com/threads/124794/
> https://forum.proxmox.com/threads/124823/
> https://forum.proxmox.com/threads/124818/
> 
> Fixes: efa3aa24 ("avoid list context for volume_size_info calls")
> Signed-off-by: Fiona Ebner <f.ebner at proxmox.com>
> ---
>  PVE/VZDump/QemuServer.pm | 17 +++++++++++++----
>  1 file changed, 13 insertions(+), 4 deletions(-)
> 
>

applied both patches with Friedrich's T-b, thanks!





More information about the pve-devel mailing list