]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: add code for handling virtiofsd
authorJán Tomko <jtomko@redhat.com>
Fri, 1 Nov 2019 11:34:52 +0000 (12:34 +0100)
committerJán Tomko <jtomko@redhat.com>
Wed, 4 Mar 2020 11:08:50 +0000 (12:08 +0100)
commitf0f986efa8a8e352fbdce7079ec440a4f3c8f522
tree7459f9d4007b8cdacad5ef73b4d3f25a1bd280b9
parent5c0444a38bb37ddeb7049683ef72d02beab9e617
qemu: add code for handling virtiofsd

Start virtiofsd for each <filesystem> device using it.

Pre-create the socket for communication with QEMU and pass it
to virtiofsd.

Note that virtiofsd needs to run as root.

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

Introduced by QEMU commit a43efa34c7d7b628cbf1ec0fe60043e5c91043ea

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Tested-by: Andrea Bolognani <abologna@redhat.com>
po/POTFILES.in
src/qemu/Makefile.inc.am
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h
src/qemu/qemu_extdevice.c
src/qemu/qemu_virtiofs.c [new file with mode: 0644]
src/qemu/qemu_virtiofs.h [new file with mode: 0644]
tests/qemuxml2argvtest.c