Re: [libvirt] [PATCH] Don't log an internal error when the guest hasn't updated balloon stats

2014-05-14 Thread Nehal J Wani
On Wed, May 14, 2014 at 1:19 PM, Ján Tomko wrote: > If virDomainMemoryStats is called too soon after domain startup, > QEMU returns: > "error":{"class":"GenericError","desc":"guest hasn't updated any stats yet"} > when we try to query balloon stats. > > Check for this reply and log it as OPERATION

[libvirt] [PATCH] Don't log an internal error when the guest hasn't updated balloon stats

2014-05-14 Thread Ján Tomko
If virDomainMemoryStats is called too soon after domain startup, QEMU returns: "error":{"class":"GenericError","desc":"guest hasn't updated any stats yet"} when we try to query balloon stats. Check for this reply and log it as OPERATION_INVALID instead of INTERNAL_ERROR. This means the daemon only