[libvirt] [PATCH] Fix handling the return value of qemuMonitorSetBalloon

Daniel Veillard veillard at redhat.com
Wed Oct 7 13:34:51 UTC 2009


On Mon, Oct 05, 2009 at 09:23:34AM +0900, Ryota Ozaki wrote:
> Hi,
> 
> The current code doesn't correctly handle the positive return value
> of qemuMonitorSetBalloon, i.e., the success case. The return value is
> directly passed to the return of qemudDomainSetMemory which treats
> a positive value as a failure.
> 
> This patch fixes the defect.

  Ah, yes, good catch !

   Applied, thanks !

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvir-list mailing list