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

Alexandre DERUMIER aderumier at odiso.com
Sat Aug 4 10:23:23 CEST 2012


by exemple for sheepdog:

When you create the disk, the size hint is created.

But when you update, the size hint is removed as volume_size_info is empty.



But,nevermind,I'll send you missing volume_size_info sub, today or tomorrow for all the plugins.

----- Mail original ----- 

De: "Dietmar Maurer" <dietmar at proxmox.com> 
À: "Alexandre Derumier" <aderumier at odiso.com>, pve-devel at pve.proxmox.com 
Envoyé: Vendredi 3 Août 2012 07:12:02 
Objet: RE: [pve-devel] qemu-server : disk update: only override disk size if volume_size_info return value 

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

Isn't that behavior expected? If I do not have a size, I do not want to store a size hint. 

Please can you explain what error you try to avoid? 

- Dietmar 




-- 

-- 



	

Alexandre D e rumier 

Ingénieur Systèmes et Réseaux 


Fixe : 03 20 68 88 85 

Fax : 03 20 68 90 88 


45 Bvd du Général Leclerc 59100 Roubaix 
12 rue Marivaux 75002 Paris 




More information about the pve-devel mailing list