[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH 1/6] Pass the virt driver name into security drivers



On Fri, May 11, 2012 at 11:10:01AM +0100, Daniel P. Berrange wrote:
> diff --git a/src/lxc/lxc_driver.c b/src/lxc/lxc_driver.c
> index 03783ff..42d1d94 100644
> --- a/src/lxc/lxc_driver.c
> +++ b/src/lxc/lxc_driver.c
> @@ -2533,7 +2533,8 @@ error:
>  static int
>  lxcSecurityInit(lxc_driver_t *driver)
>  {
> -    virSecurityManagerPtr mgr = virSecurityManagerNew(driver->securityDriverName,
> +    virSecurityManagerPtr mgr = virSecurityManagerNew(LXC_DRIVER_NAME,
> +                                                      driver->securityDriverName,

Yes I have the 2 args the wrong way around here. I have fixed
this locally, but won't repost unless there are other flaws
identified in this patch.

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]