Commit 1d4d0ef8 authored by Benjamin Berg's avatar Benjamin Berg Committed by Johannes Berg
Browse files

um: virtio_uml: query the number of vqs if supported



When the VHOST_USER_PROTOCOL_F_MQ protocol feature flag is set, we can
query the maximum number of virtual queues. Do so when supported and
extend the check to verify that we are not trying to allocate more
queues.

Signed-off-by: default avatarBenjamin Berg <benjamin.berg@intel.com>
Link: https://patch.msgid.link/20241103212854.1436046-5-benjamin@sipsolutions.net


[add a message to the WARN_ON]
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent d85deadc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment