[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 07:48:46 CET 2014
    
    
  
>>Maybe pvestatd can save if last qga command was successful (guest agent online)
what happen here if the guest agent is down ? (for example, when the vm is going to shutdown, stop the guest agent service)
BTW, which qga command is used to get status ? 
I don't find anything related in
http://git.qemu.org/?p=qemu.git;a=blob_plain;f=qga/qapi-schema.json;hb=HEAD
----- 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é: Mardi 25 Novembre 2014 07:31:45 
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. 
> >>2.) query guest status 
> 
> timeout could be a problem in pvestatd (not sure where you want to query guest 
> status) 
Yes, I thought about doing this in pvestatd. 
Maybe pvestatd can save if last qga command was successful (guest agent online). If not, it 
just sends 'guest-sync' with short timeout. 
    
    
More information about the pve-devel
mailing list