[Bug 267539] Bhyve virtio-scsi warnings about illegal SCSI tag reuse

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 03 Dec 2022 17:15:06 UTC

--- Comment #4 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:


commit 7467a6953683b439f7b31c2b42533cb893ed6be3
Author:     Alexander Motin <mav@FreeBSD.org>
AuthorDate: 2022-12-03 17:05:05 +0000
Commit:     Alexander Motin <mav@FreeBSD.org>
CommitDate: 2022-12-03 17:05:05 +0000

    CTL: Allow userland supply tags via ioctl frontend.

    Before this ioctl frontend always replaced tags with sequential ones.
    It was done for ctladm, that can not keep track of global tag list.
    But in case of virtio-scsi in bhyve we can pass provided tags as-is.
    It should be on virtio-scsi initiator to provide us valid tags.  It
    should allow proper task management, error reporting, etc.  In case
    of several virtio-scsi devices, they should use different CTL ports
    or initiator IDs to avoid conflicts, but this is expected by design.

    PR:     267539

 sys/cam/ctl/ctl_frontend_ioctl.c | 5 +++--
 sys/cam/ctl/ctl_io.h             | 2 +-
 usr.sbin/bhyve/pci_virtio_scsi.c | 2 ++
 3 files changed, 6 insertions(+), 3 deletions(-)

You are receiving this mail because:
You are the assignee for the bug.