On 04/14/2010 06:12 AM, Daniel P. Berrange wrote:
This causes it to return a success code in the event of either of the cleanup paths being taken. It needs to be a tri-state return value of -1 (error), 0 (inactive), 1 (active)
Ah, yes. I see now that all the vir*Is<whatever>() functions that have a name implying a boolean return, actually behave as you've described. I adjusted this one accordingly, and pushed the result.
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list