mirror of
https://github.com/libvirt/libvirt.git
synced 2025-01-06 14:13:27 -06:00
tests: vhostuser: add virtiofsd json descriptor
Add the capabilities from the latest virtiofsd main branch and adjust the order in the priority test accordingly. Signed-off-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
6d3955acf1
commit
f64e658df0
10
tests/qemuvhostuserdata/usr/libexec/qemu/vhost-user/test-virtiofsd
Executable file
10
tests/qemuvhostuserdata/usr/libexec/qemu/vhost-user/test-virtiofsd
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
cat <<EOF
|
||||
{
|
||||
"type": "fs",
|
||||
"features": [
|
||||
"migrate-precopy"
|
||||
]
|
||||
}
|
||||
EOF
|
@ -0,0 +1,5 @@
|
||||
{
|
||||
"description": "virtiofsd vhost-user-fs",
|
||||
"type": "fs",
|
||||
"binary": "/usr/libexec/qemu/vhost-user/test-vhost-user-gpu"
|
||||
}
|
@ -60,6 +60,7 @@ testVUPrecedence(const void *opaque G_GNUC_UNUSED)
|
||||
const char *expected[] = {
|
||||
PREFIX "/share/qemu/vhost-user/30-gpu.json",
|
||||
SYSCONFDIR "/qemu/vhost-user/40-gpu.json",
|
||||
PREFIX "/share/qemu/vhost-user/50-qemu-virtiofsd.json",
|
||||
PREFIX "/share/qemu/vhost-user/60-gpu.json",
|
||||
NULL
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user