mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-18 06:03:58 +03:00
40b73fec1b
When specifying the socket.source option for filesystem devices, like this: --filesystem type=mount,driver.type=virtiofs,source.socket=/xyz.sock,target.dir=tag1 virt-install is writing the xml as: <filesystem type="mount"> <source> <socket>/xyz.sock</socket> </source> <target dir="tag1"/> <driver type="virtiofs"/> </filesystem> This produces an error such as: ERROR missing source information for device mount_tag1 But the socket should be an attribute of source rather than a child element. After this patch, the same command results in the following XML and no error is produced: <filesystem type="mount"> <source socket="/xyz.sock"/> <target dir="tag1"/> <driver type="virtiofs"/> </filesystem> Resolves: RHEL-1126 Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>