mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-28 18:45:07 +00:00
![]() file_size_info can't find the file if it is not available, e.g., RBD storage with KRBD or LVM where the volume was not yet activated, returns then 0, which we interpret as the disk not existing, thus call vdisk_alloc which errors as the disk, in fact, really already exists. With this patch we call activate_volume before trying file_size_info, so if the volume exists we get it available and else we can really create it. If the disk does not exist and is created with vdisk_alloc we still require an additional call to activate_volume for the new disk. Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com> Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com> |
||
---|---|---|
debian | ||
PVE | ||
test | ||
.gitignore | ||
bootsplash.jpg | ||
bootsplash.xcf | ||
Makefile | ||
modules-load.conf | ||
pcitest.pl | ||
pve-bridge | ||
pve-bridge-hotplug | ||
pve-bridgedown | ||
pve-q35.cfg | ||
pve-usb.cfg | ||
qm | ||
qmeventd.c | ||
qmeventd.h | ||
qmeventd.service | ||
qmextract | ||
qmrestore |