vhost_user_blk: Enable CONFIGURE_MEM_SLOTS protocol feature
In order to support GET_MAX_MEM_SLOTS, ADD_MEM_REG and REM_MEM_REG, the protocol feature CONFIGURE_MEM_SLOTS must be enabled. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
parent
8255d5f774
commit
1e1cbc53c1
1 changed files with 2 additions and 0 deletions
|
|
@ -308,6 +308,8 @@ impl VhostUserBackend for VhostUserBlkBackend {
|
|||
|
||||
fn protocol_features(&self) -> VhostUserProtocolFeatures {
|
||||
VhostUserProtocolFeatures::CONFIG
|
||||
| VhostUserProtocolFeatures::MQ
|
||||
| VhostUserProtocolFeatures::CONFIGURE_MEM_SLOTS
|
||||
}
|
||||
|
||||
fn set_event_idx(&mut self, enabled: bool) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue