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

Re: [libvirt] [PATCH] lxc: Fix 'autostart' doesn't take effect actually



On 07/29/2010 08:21 AM, Ryota Ozaki wrote:
> lxcStartup forgot to call lxcAutostartConfigs. Fix it.
> 
> This patch should fix https://bugzilla.redhat.com/show_bug.cgi?id=589863 .
> ---
>  src/lxc/lxc_driver.c |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/src/lxc/lxc_driver.c b/src/lxc/lxc_driver.c
> index 4fc1ecd..b286692 100644
> --- a/src/lxc/lxc_driver.c
> +++ b/src/lxc/lxc_driver.c
> @@ -1928,6 +1928,9 @@ static int lxcStartup(int privileged)
>      virHashForEach(lxc_driver->domains.objs, lxcReconnectVM, lxc_driver);
>  
>      lxcDriverUnlock(lxc_driver);
> +
> +    lxcAutostartConfigs(lxc_driver);
> +

ACK; pushed.

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

Attachment: signature.asc
Description: OpenPGP digital signature


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