[libvirt] [PATCH] Report error more accurate if failes on attaching device.

Hu Tao hutao at cn.fujitsu.com
Fri Jan 28 03:58:51 UTC 2011


On Thu, Jan 27, 2011 at 08:26:10PM -0700, Eric Blake wrote:
> On 01/27/2011 08:14 PM, Eric Blake wrote:
> > s/error more accurate if failes on attaching/more accurate error on
> > failure to attach/
> > 
> > On 01/27/2011 12:21 AM, Hu Tao wrote:
> >> When attaching device from a xml file and the device is mis-configured,
> >> virsh gives mis-leading message "out of memory". This patch fixes this.
> > 
> > And if you got an actual out of memory condition, you could get the
> > error message twice (once in callee, once in caller).  ACK and pushed.
> 
> I also squashed this in (the error is user-visible, so it needs to be
> translated and not use INTERNAL_ERROR).

Thanks:)

-- 
Thanks,
Hu Tao




More information about the libvir-list mailing list