[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [libvirt] PATCH: Fix crash / cleanup bugs in sVirt verification
- From: Daniel Veillard <veillard redhat com>
- To: "Daniel P. Berrange" <berrange redhat com>
- Cc: libvir-list redhat com
- Subject: Re: [libvirt] PATCH: Fix crash / cleanup bugs in sVirt verification
- Date: Fri, 3 Apr 2009 15:05:49 +0200
On Fri, Apr 03, 2009 at 01:22:11PM +0100, Daniel P. Berrange wrote:
> If defining a VM without any <seclabel> element present, the new
> verification code will crash as it deferences NULL, so we just need
> to skip over that.
>
> Second, if one does a roundtrip of a live VM config
>
> virsh dumpxml foo > foo.xml
> virsh define foo.xml
>
> and then stop and start the guest, it will now fail complaining that the
> security label is already defined. This is because the XML parser is
> mistakenly parsing the 'model' attribute even for VMs whose label is
> defined to be dynamic.
>
> This then exposed anothe bug in the qemudStartVMDaemon() method where it
> would not properly cleanup after a failed launch, failing to reset the
> dynamic allocated security label, and also failing to close a logfil
> file descriptor.
Looks fine to me, ACK,
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
daniel veillard com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]