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>
stable-5.0
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.status
/config-temp
/tools/virtiofsd/50-qemu-virtiofsd.json
/elf2dmp
/trace-events-all
/trace/generated-events.h

View File

@ -329,6 +329,7 @@ endif
ifdef CONFIG_LINUX
HELPERS-y += virtiofsd$(EXESUF)
vhost-user-json-y += tools/virtiofsd/50-qemu-virtiofsd.json
endif
# 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"
}