[pve-devel] tasks / ressources

Alexandre DERUMIER aderumier at odiso.com
Mon Jun 10 12:00:07 CEST 2013


>>One simple hack would be to simply set the 'running' flag in the resource store 
>>when the user press start/stop on the client side. 

Yes, I think it could be a great!
I'll try to make a patch.

Thanks!

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

De: "Dietmar Maurer" <dietmar at proxmox.com> 
À: "Alexandre DERUMIER" <aderumier at odiso.com> 
Cc: pve-devel at pve.proxmox.com 
Envoyé: Lundi 10 Juin 2013 11:00:29 
Objet: RE: [pve-devel] tasks / ressources 

> >>The VM GUI directly pools the VM status each second, so you gain not 
> >>much here ( well, the resource store gets newer values). 
> 
> It's true if you are on the vm when stop/start. 
> 
> Now try to right-click->start another vm, you need to wait because you don't 
> pool the vm status directly. 
> 
> Worst case is that you can wait 9,999second if the resource is updated just 
> before the vm stop/start. 

One simple hack would be to simply set the 'running' flag in the resource store 
when the user press start/stop on the client side. 



More information about the pve-devel mailing list