Re: [libvirt] [PATCH 1/2] seclabel: Do not output relabel attribute for type 'none'

2012-02-08 Thread Jiri Denemark
On Tue, Feb 07, 2012 at 13:31:39 -0700, Eric Blake wrote: On 02/07/2012 01:10 PM, Jiri Denemark wrote: Security label type 'none' requires relabel to be set to 'no' so there's no reason to output this extra attribute. Moreover, since relabel is internally stored in a negative from

[libvirt] [PATCH 1/2] seclabel: Do not output relabel attribute for type 'none'

2012-02-07 Thread Jiri Denemark
Security label type 'none' requires relabel to be set to 'no' so there's no reason to output this extra attribute. Moreover, since relabel is internally stored in a negative from (norelabel), the default value for relabel would be 'yes' in case there is no seclabel element in domain

Re: [libvirt] [PATCH 1/2] seclabel: Do not output relabel attribute for type 'none'

2012-02-07 Thread Eric Blake
On 02/07/2012 01:10 PM, Jiri Denemark wrote: Security label type 'none' requires relabel to be set to 'no' so there's no reason to output this extra attribute. Moreover, since relabel is internally stored in a negative from (norelabel), the default value for relabel would be 'yes' in case