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:
parent
0bbd317537
commit
315616ed50
1
.gitignore
vendored
1
.gitignore
vendored
@ -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
|
||||||
|
1
Makefile
1
Makefile
@ -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
|
||||||
|
5
tools/virtiofsd/50-qemu-virtiofsd.json.in
Normal file
5
tools/virtiofsd/50-qemu-virtiofsd.json.in
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"description": "QEMU virtiofsd vhost-user-fs",
|
||||||
|
"type": "fs",
|
||||||
|
"binary": "@libexecdir@/virtiofsd"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user