vdpa: validate MQ CVQ commands
commit275ba561cd3f7b17675046792ecbdea184e948f8
authorEugenio Pérez <eperezma@redhat.com>
Tue, 6 Sep 2022 15:07:17 +0000 (6 17:07 +0200)
committerJason Wang <jasowang@redhat.com>
Tue, 27 Sep 2022 07:14:37 +0000 (27 15:14 +0800)
treef29b76b86549326917953eb2519b79c2f4ea52ec
parentf64c7cda6973b0ea7477d999b11139306b3d04d5
vdpa: validate MQ CVQ commands

So we are sure we can update the device model properly before sending to
the device.

Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
net/vhost-vdpa.c