[libvirt] [PATCH] error: add new error type for reflecting partial API support

Eric Blake eblake at redhat.com
Thu Jul 21 22:09:39 UTC 2011

On 07/21/2011 01:26 PM, Michal Privoznik wrote:
> On 21.07.2011 20:46, Eric Blake wrote:
>> A good use case for this is a driver that supports
>> virDomainSaveFlags, but not the dxml argument of that API.
>> * include/libvirt/virterror.h (VIR_ERR_ARGUMENT_UNSUPPORTED): New
>> error.
>> * src/util/virterror.c (virErrorMsg): Give it a message.
>> Suggested by Daniel P. Berrange.
>> ---

> ACK.

Thanks; pushed.

> I like patches where commit message is longer than actual diff :)

Just covering my bases, for when I do git log and wonder what the 
difference is!

Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

More information about the libvir-list mailing list