[libvirt] [PATCH v3] Refactor the security drivers to simplify usage

Eric Blake eblake at redhat.com
Fri Jan 7 19:15:03 UTC 2011


On 01/07/2011 08:39 AM, Daniel P. Berrange wrote:
> This pair of checks for NULL clutters up the code, making the driver
> calls 2 lines longer than they really need to be. The goal of the
> patchset is to change the calling convention to simply
> 
>   if (virSecurityManagerSetHostdevLabel(driver->securityDriver,
>                                         vm, hostdev) < 0)
> 

Can you show the changes between v2 and v3?  (although if you wait long
enough, I can probably generate that myself, given a few minutes of git
usage, and start replying based on that...)

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110107/9f610ab5/attachment-0001.sig>


More information about the libvir-list mailing list