From: Steven Smith Subject: Re: [Patch 0/7] pvSCSI driver Date: Wed, 27 Feb 2008 11:16:10 +0000 Message-ID: <20080227111610.GA26424@weybridge.uk.xensource.com> References: <20080218190633.E761.EB2C8575@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1722129112==" Return-path: In-Reply-To: <20080218190633.E761.EB2C8575@jp.fujitsu.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jun Kamada Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1722129112== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+HP7ph2BbKc20aGI" Content-Disposition: inline --+HP7ph2BbKc20aGI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > I will post total seven patches for new pvSCSI driver on following=20 > E-mails. Thanks for doing this, being able to pass SCSI devices through to guests is likely to be a useful facility. I have a couple of comments on the design: -- You've ended up re-implementing a lot of Linux SCSI stuff in the backend. I don't understand why this was necessary. Would you mind explaining, please? -- The code seems to be a bit undecided about whether the exposed devices are supposed to represent SCSI adapters or SCSI targets. It looks like the frontend initially tries to treat them as a bunch of targets, and then conditionally gloms them back together into hosts depending on xenstore fields? Having a host per target would make sense, as would having a single host with all of the targets hanging off of it, but I don't understand why this split model is useful. Perhaps I'm just missing something. -- I don't understand the distinction between comfront and scsifront. What was the reason for this split? -- There don't seem to be many comments in these patches. Xen and Linux are both generally pretty comment-light, but an entire new device class without a single meaningful comment still kind of stands out. I'll reply to the individual patches with more detailed comments. A lot of my complaints will doubtless turn out to just be because I'm not very used to Linux SCSI. I've not looked at the xend changes, because I'm not really competent to evaluate them. Steven. --+HP7ph2BbKc20aGI Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHxUZ6SSW8CTLdF2kRAnKIAKCF1XTBq4HTPQfDTDdjOxPVtFnbpwCfX1m5 0VO8Q4GenfLxLPVs6e4f1ro= =FxFz -----END PGP SIGNATURE----- --+HP7ph2BbKc20aGI-- --===============1722129112== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1722129112==--