[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 2994cb: vhost-scsi: add missing virtqueue_siz

From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 2994cb: vhost-scsi: add missing virtqueue_size parameter
Date: Tue, 05 Dec 2017 04:39:51 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 2994cb2ee244b7d6a00576b4fd178932d8b31439
  Author: Eric Farman <address@hidden>
  Date:   2017-12-05 (Tue, 05 Dec 2017)

  Changed paths:
    M hw/scsi/vhost-scsi.c

  Log Message:
  vhost-scsi: add missing virtqueue_size parameter

Commit 5c0919d02066 ("virtio-scsi: Add virtqueue_size parameter allowing
virtqueue size to be set.") introduced a new parameter to virtio-scsi.
Later, commit 920036106044 ("vhost-user-scsi: add missing virtqueue_size
param") added that parameter to the new vhost-user-scsi interface but
neglected the existing vhost-scsi interface it was built on.

Apply the same change to vhost-scsi, so that we can boot a guest with
a device defined.  This also avoids crashing a guest when hotplugging
a vhost-scsi device.

Signed-off-by: Eric Farman <address@hidden>
Message-id: address@hidden
Reviewed-by: Paolo Bonzini <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]