]> git.ipfire.org Git - thirdparty/qemu.git/commit
vhost: use unsigned int for nvqs
authorJason Wang <jasowang@redhat.com>
Fri, 3 Sep 2021 09:10:14 +0000 (17:10 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Sat, 4 Sep 2021 21:34:05 +0000 (17:34 -0400)
commit5fc13603a6bec4451cf1062ae6bdb6a2ab81a69c
treef4f74d31d43c4f93bf321b0fd813882914dee0cc
parent40f962ffeba627cd65121a7b2883f145e79c9c4c
vhost: use unsigned int for nvqs

Switch to use unsigned int for nvqs since it's not expected to be
negative.

Reviewed-by: Eli Cohen <elic@nvidia.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20210903091031.47303-5-jasowang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
include/hw/virtio/vhost.h