[pve-devel] stream lock status in the cluster ?

Alexandre DERUMIER aderumier at odiso.com
Mon Jul 15 14:25:09 CEST 2013


>>I don’t want to do that now, so I introduced 'qmpstatus' instead.

Ok, so we just need to put new values in qmpstatus, right ?


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

De: "Dietmar Maurer" <dietmar at proxmox.com> 
À: "Alexandre DERUMIER" <aderumier at odiso.com> 
Cc: pve-devel at pve.proxmox.com 
Envoyé: Lundi 15 Juillet 2013 09:53:27 
Objet: RE: [pve-devel] stream lock status in the cluster ? 

> >>I introduced 'qmpstatus' for that purpose (instead of using 'status') 
> >>- to make sure that we do not break something. 
> Oh, ok, perfect ! 
> 
> So, maybe do we just need to extend: 
> 
> PVE::QemuServer::vmstatus 
> 
> # fixme: better status? 
> $d->{status} = $list->{$vmid}->{pid} ? 'running' : 'stopped'; 

Yes, but then you have the risk that you break clients. 

I don’t want to do that now, so I introduced 'qmpstatus' instead. 


More information about the pve-devel mailing list