[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.

Dietmar Maurer dietmar at proxmox.com
Tue Nov 25 08:09:39 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)

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