On 03/24/2014 10:16 AM, Michal Privoznik wrote:
> It's easy to shed the daemon these days. With this XML snippet:
> 
>     <disk type='file' device='disk'>
>       <driver name='qemu' type='raw'/>
>       <source file='/some/dummy/path/test.bin'>
>         <seclabel model='dac' relabel='no'/>
>       </source>
>       <target dev='vdb' bus='virtio'/>
>       <readonly/>
>       <address type='pci' domain='0x0000' bus='0x00' slot='0x07' 
> function='0x0'/>
>     </disk>
> 
> I get the SIGSEGV when starting the domain. The thing is, when
> starting a domain, we check for its disk presence. For some reason,
> when determining the disk chain, we parse the <seclabel/> (don't ask
> me why). However, there's no label attribute in the XML, so we end up
> calling virParseOwnershipIds() over NULL string:

> ---
>  src/qemu/qemu_domain.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

ACK

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to