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

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

 



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@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]