[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 09:47:08 CET 2014
    
    
  
>>I thought about IP address and disk usage: 
>>
>>guest-network-get-interfaces 
>>guest-get-fsinfo 
So maybe 1 call each minute is enough for this ?
>>But seems guest-get-fsinfo does not return useful data :-/ 
Yes, I only display mountpoint. (could be useful for hot-unplug protection).
Note that both network and fsinfo are not implemented under qga windows currently
----- 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 08:09:39 
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. 
> >>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) 
We get a timeout, and we save that information so that other processes knows 
that guest agent is down. 
> 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 
I thought about IP address and disk usage: 
guest-network-get-interfaces 
guest-get-fsinfo 
But seems guest-get-fsinfo does not return useful data :-/ 
    
    
More information about the pve-devel
mailing list