[pve-devel] [PATCH 2/2] now if the QMP command starts with guest-+ , it will bind dynamicly to the VMID.qga socket. To test the function vmtime is implemented which return the vm UNIX Time.

Alexandre DERUMIER aderumier at odiso.com
Tue Nov 25 06:45:36 CET 2014


>>The problem is the timeout if guest agent is not running (not the overhead).
>>But maybe it is not a big problem, and not worth the efforts?

>>1.) send guest command like shutdown, freeze, unfreeze 

I think it's not a problem here. a small extra 1s timeout on guest-sync is ok I Think.

(and if guest-sync timeout, we can fallback on old method (acpi shutdown, vm pause)


>>2.) query guest status

timeout could be a problem in pvestatd (not sure where you want to query guest status)



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

De: "Dietmar Maurer" <dietmar at proxmox.com> 
À: "Alexandre DERUMIER" <aderumier at odiso.com> 
Cc: pve-devel at pve.proxmox.com, "Wolfgang Link" <wolfgang at linksystems.org> 
Envoyé: Lundi 24 Novembre 2014 20:54:01 
Objet: RE: [PATCH 2/2] now if the QMP command starts with guest-+ , it will bind dynamicly to the VMID.qga socket. To test the function vmtime is implemented which return the vm UNIX Time. 

> What do we want to do you qga ? 

1.) send guest command like shutdown, freeze, unfreeze 
2.) query guest status 

> if it's only to send some commands like filesystem freeze|unfreeze, stop[start , I 
> think that calling guest-sync before it's not a big overhead. 

The problem is the timeout if guest agent is not running (not the overhead). 
But maybe it is not a big problem, and not worth the efforts? 



More information about the pve-devel mailing list