[libvirt] [libvirt-glib PATCH] Add API to get security models from host capabilities

Christophe Fergeau cfergeau at redhat.com
Thu Jun 5 12:01:04 UTC 2014


On Thu, Jun 05, 2014 at 01:03:47PM +0200, Cedric Bosdonnat wrote:
> On Thu, 2014-06-05 at 10:37 +0100, Daniel P. Berrange wrote:
> > On Thu, Jun 05, 2014 at 11:32:22AM +0200, Christophe Fergeau wrote:
> > > Hey,
> > > 
> > > Looks good to me.
> > > There's a 'Nuernberg' typo in the copyright lines
> > > I'm wondering if GVirConfigCapabilitiesSecmodel should be
> > > GVirConfigCapabilitiesHostSecmodel as this is only available under the
> > > host node.
> > 
> > Yes, makes sense.
> > 
> > > Also, libvirt uses the spelling SecModel/secmodel, might be nice to
> > > follow that (or SecModel/sec_model ?) 
> > 
> > Yes, since 'secmodel' is an abbreviation for 'Security model' both
> > the 'S' and 'M' should be capitalized.
> 
> Ok, I'll fix those... is there anything else to fix in a v2?

Apart from these naming things, the actual code looked good.
Oh, since you ask, bonus points if you add a _get_doi() method in
addition to _get_model() :)

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140605/b5743111/attachment-0001.sig>


More information about the libvir-list mailing list