]> git.ipfire.org Git - thirdparty/qemu.git/commit
vhost-user-fs: fix features handling
authorAnton Kuchin <antonkuchin@yandex-team.ru>
Thu, 8 Apr 2021 19:55:34 +0000 (22:55 +0300)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Tue, 13 Apr 2021 15:13:41 +0000 (16:13 +0100)
commitace66791cd15657320b11b1a421afc055f28efca
tree687e3674c29494bf812fc534b928e206498fb046
parentdce628a97fde2594f99d738883a157f05aa0a14f
vhost-user-fs: fix features handling

Make virtio-fs take into account server capabilities.

Just returning requested features assumes they all of then are implemented
by server and results in setting unsupported configuration if some of them
are absent.

Signed-off-by: Anton Kuchin <antonkuchin@yandex-team.ru>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
  With changes suggested by Stefan
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
hw/virtio/vhost-user-fs.c