On Fri, 24 Jan 2020 10:01:56 +0000 Stefan Hajnoczi <stefa...@redhat.com> wrote:
> The event and control virtqueues are always present, regardless of the > multi-queue configuration. Define a constant so that virtqueue number > calculations are easier to read. > > Signed-off-by: Stefan Hajnoczi <stefa...@redhat.com> > --- > hw/scsi/vhost-user-scsi.c | 2 +- > hw/scsi/virtio-scsi.c | 7 ++++--- > include/hw/virtio/virtio-scsi.h | 3 +++ > 3 files changed, 8 insertions(+), 4 deletions(-) Reviewed-by: Cornelia Huck <coh...@redhat.com>