[libvirt] [PATCH] Fix misuse of VIR_ERR_INVALID_DOMAIN

Eric Blake eblake at redhat.com
Thu Dec 23 22:58:45 UTC 2010


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.

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20101223/6795934e/attachment-0001.sig>


More information about the libvir-list mailing list