]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: add socket for virtiofs filesystems
authorJán Tomko <jtomko@redhat.com>
Mon, 7 Sep 2020 20:07:35 +0000 (22:07 +0200)
committerJán Tomko <jtomko@redhat.com>
Wed, 21 Apr 2021 13:48:01 +0000 (15:48 +0200)
commit12967c3e1333a6e106110f449ccb1e96279b9527
treeae620b1172e2fc49c5d6735b756b1c92ba398151
parente5817031483c7016f0eecdeb37d77a9a063616ad
conf: add socket for virtiofs filesystems

Allow passing a socket of an externally launched virtiofsd
to the vhost-user-fs device.

<filesystem type='mount'>
  <driver type='virtiofs' queue='1024'/>
  <source socket='/tmp/sock/'/>
</filesystem>

https://bugzilla.redhat.com/show_bug.cgi?id=1855789

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
docs/schemas/domaincommon.rng
src/conf/domain_conf.c
src/conf/domain_conf.h
src/qemu/qemu_validate.c
tests/qemuxml2argvdata/vhost-user-fs-sock.xml [new file with mode: 0644]
tests/qemuxml2xmloutdata/vhost-user-fs-sock.x86_64-latest.xml [new symlink]
tests/qemuxml2xmltest.c