[libvirt] [PATCH] 528575 avoid libvirtd crash on LCX domain autostart

2009-10-21 Thread Daniel Veillard
https://bugzilla.redhat.com/show_bug.cgi?id=528575 virsh -c lxc:/// autostart vm1 crash the daemon because the driver autostartDir is never initialized and we do a NULL dereference. The enclosed patch is trivial and avoid the crash, but ... [r...@paphio ~]# virsh -c lxc:/// dominfo vm1 Id:

Re: [libvirt] [PATCH] 528575 avoid libvirtd crash on LCX domain autostart

2009-10-21 Thread Daniel P. Berrange
On Wed, Oct 21, 2009 at 11:52:42AM +0200, Daniel Veillard wrote: https://bugzilla.redhat.com/show_bug.cgi?id=528575 virsh -c lxc:/// autostart vm1 crash the daemon because the driver autostartDir is never initialized and we do a NULL dereference. The enclosed patch is trivial and avoid

Re: [libvirt] [PATCH] 528575 avoid libvirtd crash on LCX domain autostart

2009-10-21 Thread Ryota Ozaki
On Wed, Oct 21, 2009 at 6:55 PM, Daniel P. Berrange berra...@redhat.com wrote: On Wed, Oct 21, 2009 at 11:52:42AM +0200, Daniel Veillard wrote:   https://bugzilla.redhat.com/show_bug.cgi?id=528575 virsh -c lxc:/// autostart vm1 crash the daemon because the driver autostartDir is never

Re: [libvirt] [PATCH] 528575 avoid libvirtd crash on LCX domain autostart

2009-10-21 Thread Daniel Veillard
On Wed, Oct 21, 2009 at 07:31:11PM +0900, Ryota Ozaki wrote: On Wed, Oct 21, 2009 at 6:55 PM, Daniel P. Berrange berra...@redhat.com wrote: On Wed, Oct 21, 2009 at 11:52:42AM +0200, Daniel Veillard wrote:   https://bugzilla.redhat.com/show_bug.cgi?id=528575 virsh -c lxc:/// autostart