[libvirt] [PATCH] util: storage: Fix crash of libvirtd on network backed guest block-pull

2014-05-29 Thread Peter Krempa
For guests backed by gluster volumes (or other network storage) we don't fill the backing chain (see qemuDomainDetermineDiskChain). This leaves the relPath field of the top image NULL. This causes a crash in virStorageFileChainLookup() when looking up a backing element for such a disk. Since I'm

Re: [libvirt] [PATCH] util: storage: Fix crash of libvirtd on network backed guest block-pull

2014-05-29 Thread Eric Blake
On 05/29/2014 08:52 AM, Peter Krempa wrote: For guests backed by gluster volumes (or other network storage) we don't fill the backing chain (see qemuDomainDetermineDiskChain). This leaves the relPath field of the top image NULL. This causes a crash in virStorageFileChainLookup() when looking

Re: [libvirt] [PATCH] util: storage: Fix crash of libvirtd on network backed guest block-pull

2014-05-29 Thread Peter Krempa
On 05/29/14 16:58, Eric Blake wrote: On 05/29/2014 08:52 AM, Peter Krempa wrote: For guests backed by gluster volumes (or other network storage) we don't fill the backing chain (see qemuDomainDetermineDiskChain). This leaves the relPath field of the top image NULL. This causes a crash in