virtiofsd: add vhost-user.json file

Install a vhost-user.json file describing virtiofsd.  This allows
libvirt and other management tools to enumerate vhost-user backend
programs.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
This commit is contained in:
Stefan Hajnoczi 2019-08-27 10:54:37 +01:00 committed by Dr. David Alan Gilbert
parent 0bbd317537
commit 315616ed50
3 changed files with 7 additions and 0 deletions

1
.gitignore vendored
View File

@ -6,6 +6,7 @@
/config-target.* /config-target.*
/config.status /config.status
/config-temp /config-temp
/tools/virtiofsd/50-qemu-virtiofsd.json
/elf2dmp /elf2dmp
/trace-events-all /trace-events-all
/trace/generated-events.h /trace/generated-events.h

View File

@ -329,6 +329,7 @@ endif
ifdef CONFIG_LINUX ifdef CONFIG_LINUX
HELPERS-y += virtiofsd$(EXESUF) HELPERS-y += virtiofsd$(EXESUF)
vhost-user-json-y += tools/virtiofsd/50-qemu-virtiofsd.json
endif endif
# Sphinx does not allow building manuals into the same directory as # Sphinx does not allow building manuals into the same directory as

View File

@ -0,0 +1,5 @@
{
"description": "QEMU virtiofsd vhost-user-fs",
"type": "fs",
"binary": "@libexecdir@/virtiofsd"
}