[libvirt] [PATCH] Implement forgotten backend of virInterfaceIsActive()
Laine Stump
laine at laine.org
Wed Apr 14 14:41:30 UTC 2010
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.
More information about the libvir-list
mailing list