>>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" <diet...@proxmox.com> 
À: "Alexandre DERUMIER" <aderum...@odiso.com> 
Cc: pve-devel@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. 
_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to