diff --git a/vhost_user_backend/src/lib.rs b/vhost_user_backend/src/lib.rs index f0f9957f9..d3d76af06 100644 --- a/vhost_user_backend/src/lib.rs +++ b/vhost_user_backend/src/lib.rs @@ -573,7 +573,7 @@ impl VhostUserSlaveReqHandler for VhostUserHandler { } fn set_features(&mut self, features: u64) -> VhostUserResult<()> { - if !self.owned || self.features_acked { + if !self.owned { return Err(VhostUserError::InvalidOperation); } else if (features & !self.backend.read().unwrap().features()) != 0 { return Err(VhostUserError::InvalidParam);