block/export: disable VHOST_USER_PROTOCOL_F_INFLIGHT_SHMFD for now
authorStefan Hajnoczi <stefanha@redhat.com>
Tue, 9 Mar 2021 09:41:03 +0000 (09:41 +0000)
committerKevin Wolf <kwolf@redhat.com>
Fri, 19 Mar 2021 09:15:06 +0000 (10:15 +0100)
The vhost-user in-flight shmfd feature has not been tested with
qemu-storage-daemon's vhost-user-blk server. Disable this optional
feature for now because it requires MFD_ALLOW_SEALING, which is not
available in some CI environments.

If we need this feature in the future it can be re-enabled after
testing.

Reported-by: Peter Maydell <peter.maydell@linaro.org>
Cc: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20210309094106.196911-2-stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/export/vhost-user-blk-server.c

index cb5d896b7b7a1a5dab9b0e9d7f626858246fc1bf..fa06996d37cf167b312e1da3cdab4903b54b692f 100644 (file)
@@ -345,8 +345,7 @@ static uint64_t vu_blk_get_features(VuDev *dev)
 
 static uint64_t vu_blk_get_protocol_features(VuDev *dev)
 {
-    return 1ull << VHOST_USER_PROTOCOL_F_CONFIG |
-           1ull << VHOST_USER_PROTOCOL_F_INFLIGHT_SHMFD;
+    return 1ull << VHOST_USER_PROTOCOL_F_CONFIG;
 }
 
 static int