Re: [pve-devel] pve-storage : add $preparecopy argument to alloc_image

2012-10-27 Thread Dietmar Maurer
the bdrv_create also check if the size of volume if big enough, and if it's available. You can also do that in qemu-img (2 lines of code to check size?). qemu dev seem to want same behavior that for host_device block driver FAIK, we also want to avoid any call to bdrv_create for normal files

Re: [pve-devel] pve-storage : add $preparecopy argument to alloc_image

2012-10-26 Thread Dietmar Maurer
qemu-img convert need that target volume doesn't exist, so we only return the target volume name. The suggestion was to modify qemu-img instead. ___ pve-devel mailing list pve-devel@pve.proxmox.com