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> |
||
---|---|---|
.. | ||
data | ||
uitests | ||
__init__.py | ||
conftest.py | ||
magicuri.py | ||
test_capabilities.py | ||
test_checkprops.py | ||
test_cli.py | ||
test_cloner.py | ||
test_conn.py | ||
test_disk.py | ||
test_dist.py | ||
test_inject.py | ||
test_misc.py | ||
test_nodedev.py | ||
test_osdict.py | ||
test_storage.py | ||
test_uriparse.py | ||
test_urldetect.py | ||
test_urls.py | ||
test_xmlparse.py | ||
testdriver.xml | ||
urlfetcher_mock.py | ||
utils.py |