[pve-devel] [PATCH] qom ballon fix v2

Alexandre DERUMIER aderumier at odiso.com
Fri Mar 6 13:51:58 CET 2015


as optimisation,

we can skip the qom-get call if balloon is not defined in vm config.



----- Mail original -----
De: "aderumier" <aderumier at odiso.com>
À: "dietmar" <dietmar at proxmox.com>
Cc: "pve-devel" <pve-devel at pve.proxmox.com>
Envoyé: Vendredi 6 Mars 2015 13:32:55
Objet: Re: [pve-devel] [PATCH] qom ballon fix v2

>>But we wanted to avoid multiple calls ... 

Do you think that a small extra call can slowdown pvestatd ? 


----- Mail original ----- 
De: "dietmar" <dietmar at proxmox.com> 
À: "aderumier" <aderumier at odiso.com>, "pve-devel" <pve-devel at pve.proxmox.com> 
Envoyé: Vendredi 6 Mars 2015 12:58:51 
Objet: Re: [pve-devel] [PATCH] qom ballon fix v2 

> On March 6, 2015 at 12:19 PM Alexandre Derumier <aderumier at odiso.com> wrote: 
> 
> 
> changelog: 
> - values are in bytes 
> - we need to skip values if they are = -1 
> (guest don't have yet reported values) 
> 
> - reuse again qmp query-balloon, to get actual value of the balloon device. 

But we wanted to avoid multiple calls ... 

_______________________________________________ 
pve-devel mailing list 
pve-devel at pve.proxmox.com 
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 




More information about the pve-devel mailing list