[libvirt] [PATCH] Fix misuse of VIR_ERR_INVALID_DOMAIN

Matthias Bolte matthias.bolte at googlemail.com
Mon Dec 27 23:19:08 UTC 2010


2010/12/23 Eric Blake <eblake at redhat.com>:
> On 12/23/2010 03:46 PM, Matthias Bolte wrote:
>> VIR_ERR_INVALID_DOMAIN is meant for invalid domain pointers.
>> VIR_ERR_NO_DOMAIN is meant for non-existing domains.
>> ---
>>  src/opennebula/one_driver.c |   16 ++++++++--------
>>  src/openvz/openvz_driver.c  |   22 +++++++++++-----------
>>  src/uml/uml_driver.c        |   26 +++++++++++++-------------
>>  src/vbox/vbox_tmpl.c        |   38 +++++++++++++++++++-------------------
>>  4 files changed, 51 insertions(+), 51 deletions(-)
>
> ACK.  Looks like there's been some copy and paste between drivers.
>

Thanks, pushed.

Matthias




More information about the libvir-list mailing list