[libvirt] Mystery of qemu being unable to open NBD Unix domain socket in current directory

Peter Krempa pkrempa at redhat.com
Thu Jun 7 11:38:47 UTC 2018


On Thu, Jun 07, 2018 at 12:20:16 +0100, Richard W.M. Jones wrote:
> 
> I don't know whether or not we decided this was a bug, but
> I have filed one anyway:
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1588447

Your XML does not conform to the libvirt domain XML schema which always
called for an absolute path as we do with all paths in the domain XML:

        <group>
          <attribute name="transport">
            <value>unix</value>
          </attribute>
          <attribute name="socket">
            <ref name="absFilePath"/>
          </attribute>
        </group>


We just did not validate this particular code path in the parser itself
(when the domain schema validation is not used).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180607/7855da7e/attachment-0001.sig>


More information about the libvir-list mailing list