rust-vmm / vhost-device

'vhost-user' device backends workspace
Apache License 2.0
68 stars 48 forks source link

vsock: Set VhostUserProtocolFeatures::MQ #755

Closed vireshk closed 2 weeks ago

vireshk commented 2 weeks ago

As per the vhost-user specification:

"Back-ends should always implement the VHOST_USER_PROTOCOL_F_MQ protocol feature, even for devices with a fixed number of virtqueues, since it is simple to implement and offers a degree of introspection."

Vsock backend support three virtqueues and hence this should be set.

Summary of the PR

Please summarize here why the changes in this PR are needed.

Requirements

Before submitting your PR, please make sure you addressed the following requirements:

stefano-garzarella commented 2 weeks ago

LGTM!

@vireshk the audit warning is fixed in the current main, so I guess a rebase should fix it.

stefano-garzarella commented 2 weeks ago

@epilys thanks for the changelog entry!