From ea0bc240fd7cce7224d8133c16c0aa654b0e6c5e Mon Sep 17 00:00:00 2001 From: Sergio Lopez Date: Fri, 21 Feb 2020 12:03:52 +0100 Subject: [PATCH] vhost_user_fs: Be honest about protocol supported features vhost_user_fs doesn't really support all vhost protocol features, just MQ and SLAVE_REQ, so return that in protocol_features(). Signed-off-by: Sergio Lopez --- src/bin/vhost_user_fs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/vhost_user_fs.rs b/src/bin/vhost_user_fs.rs index 4357c8bd0..a9cd8ebe5 100644 --- a/src/bin/vhost_user_fs.rs +++ b/src/bin/vhost_user_fs.rs @@ -142,7 +142,7 @@ impl VhostUserBackend for VhostUserFsBack } fn protocol_features(&self) -> VhostUserProtocolFeatures { - VhostUserProtocolFeatures::all() + VhostUserProtocolFeatures::MQ | VhostUserProtocolFeatures::SLAVE_REQ } fn set_event_idx(&mut self, _enabled: bool) {}