I think there's a c&p error: http://libvirt.org/html/libvirt-libvirt.html#virStoragePoolUndefine
"Returns: a virStoragePoolPtr object, or NULL if creation failed" I assume it is "0 on success, -1 on failure" as the return is of type int. kr,t -- Libvir-list mailing list Libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list