Date: Sat, 03 Dec 2022 17:15:06 +0000 From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 267539] Bhyve virtio-scsi warnings about illegal SCSI tag reuse Message-ID: <bug-267539-27103-IwdLrGKWDa@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-267539-27103@https.bugs.freebsd.org/bugzilla/> References: <bug-267539-27103@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267539 --- Comment #4 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D7467a6953683b439f7b31c2b42533cb89= 3ed6be3 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(-) --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-267539-27103-IwdLrGKWDa>