[pve-devel] qemu-server : disk update: only override disk size if volume_size_info return value

Alexandre Derumier aderumier at odiso.com
Fri Aug 3 06:57:56 CEST 2012


when we update a disk (with an existing disk size value specified), we check again volume_size_info.

if volume_size_info is not yet implemented, we override value with undef.

So we need to check that volume_size_info return a value.


BTW: do we need to recheck volume_size_info at each update ? (if disksize value exist on volume ?)



More information about the pve-devel mailing list