Date: Fri, 21 May 2010 20:59:35 -0700 From: Matthew Jacob <mj@feral.com> To: freebsd-scsi@freebsd.org Subject: Re: vhba/fake hba Message-ID: <4BF756A7.6070108@feral.com> In-Reply-To: <4BF73B2A.1070804@FreeBSD.org> References: <mailpost.1274479235.2252459.90876.mailing.freebsd.scsi@FreeBSD.cs.nctu.edu.tw> <4BF73B2A.1070804@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 5/21/2010 7:02 PM, Alexander Motin wrote: > Matthew Jacob wrote: > >> I've extended my test virtual hba further- it's been incredibly useful >> for testing stuff. >> >> I'd like to put in the tree- but I'm guessing that /usr/src/tools/tests >> would be the right place. >> >> Any thoughts? >> > Nice hack framework. But looking on subject, my first thought was that > it is something like OpenBSD's vscsi(4). > > nope, but it could be something like it. Look- it's just a really simple junction box to add "soft" hardware to a SIM. I used it to help sort out some race conditions in configuration, and I'm now using it to flesh out the REPORT LUNS implementation. It's a lot quicker to load a kernel module that creates ~10 or so random luns between 0 and 1024 then it is to fart around with various GUIs to set up real (and scarce and hard to share) hardware. In fact, it's even easier to do this than it is to set up target mode, because you can do this on a box that doesn't actually even have any SCSI hardware.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BF756A7.6070108>