qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 0/3] re-enable balloon stats


From: Luiz Capitulino
Subject: Re: [Qemu-devel] [PATCH 0/3] re-enable balloon stats
Date: Tue, 11 Dec 2012 10:10:59 -0200

On Tue, 11 Dec 2012 12:05:32 +0000
Dietmar Maurer <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]