On Tue, 11 Dec 2012 12:05:32 +0000
Dietmar Maurer <diet...@proxmox.com> wrote:

> > > and simply return all stats with one API call (query-ballon)?
> > 
> > We can't use query-balloon because this changes query-balloon from
> > synchronous to asynchronous, and this is an incompatible change.
> 
> Why don't we simply cache the last received stats, and query-ballon returns
> the cached values?

Giving that we're doing this through device properties, we'd duplicate
the interface by also returning this info in query-balloon.

However, it wouldn't be a problem to extend 'info balloon' (in HMP) with
that info. That is, 'info balloon' could use the QOM interface to query
balloon stats.

Reply via email to