[libvirt] [PATCH] fix virsh dominfo returns error when virNodeGetSecurityModel() is not supported.

Tatsuro Enokura fj2026af at aa.jp.fujitsu.com
Thu Jun 25 00:29:48 UTC 2009


Hi Dan,

Tatsuro Enokura wrote:
>> I don't think that is neccessary. You'll only invoke
>> virDomainGetSecurityLabel
>> if virNodeGetSecurityModel() was asuccessfull and the returned secmodel
>> is not the empty string. In such a scenario I'd expect the call to
>> virDomainGetSecurityLabel() to always be successful and would want the
>> user to see any error if it fail
>
> OK, I understood.
>
> I try your patch, works fine.

If there is not problem, please commit your patch.

Thanks
Tatsuro Enokura




More information about the libvir-list mailing list