mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-22 13:34:07 +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> |
||
---|---|---|
.. | ||
devices | ||
domain | ||
install | ||
__init__.py | ||
_progresspriv.py | ||
buildconfig.py | ||
capabilities.py | ||
cli.py | ||
cloner.py | ||
connection.py | ||
diskbackend.py | ||
domcapabilities.py | ||
generatename.py | ||
guest.py | ||
logger.py | ||
network.py | ||
nodedev.py | ||
osdict.py | ||
pollhelpers.py | ||
progress.py | ||
snapshot.py | ||
storage.py | ||
support.py | ||
uri.py | ||
virtclone.py | ||
virtinstall.py | ||
virtxml.py | ||
xmlapi.py | ||
xmlbuilder.py | ||
xmlutil.py |