[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [RFC PATCH v01] Xen PVSCSI drivers for pvops xen/stable-2.6.32.x kernel
On Fri, Jan 07, 2011 at 12:31:21AM +0200, Pasi Kärkkäinen wrote: > Hello, > > http://pasik.reaktio.net/xen/patches/xen-pvscsi-drivers-linux-2.6.32.27-pvops-v01.diff > > This is the first version of Xen PVSCSI drivers, both the scsiback backend and > scsifront frontend, ported from Novell SLES11SP1 2.6.32 Xenlinux kernel to > pvops xen/stable-2.6.32.x branch. > > At the moment it's *only* compile-tested with the latest xen/stable-2.6.32.x > git kernel as of today (2.6.32.27), on Fedora 14 x86_64. > > Comments welcome. > > I'm sure there are still things to fix in it. > Hopefully I managed to properly fix all the differences between Xenlinux <-> > pvops.. > Let me know how it goes, if you feel adventurous enough to try it :) I took a look at the patches and rebased them on top of v3.0 some time ago. Had to fix up some things, but not much (most of the P2M API calls, and some of the grant table modifications) and stuck the patches in: git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git devel/xen-scsi.v1.0 Attached is also the full patch against v3.0 kernel. I found that it works with my SCSI disks, but you need to use Xen 4.1 (and xm). Earlier versions do something weird. I am not really sure who is using it Ah, I also put the 2Tb fix in it. drivers/scsi/Kconfig | 16 + drivers/scsi/Makefile | 2 + drivers/scsi/xen-scsiback/Makefile | 4 + drivers/scsi/xen-scsiback/common.h | 187 ++++++++ drivers/scsi/xen-scsiback/emulate.c | 478 ++++++++++++++++++++ drivers/scsi/xen-scsiback/interface.c | 141 ++++++ drivers/scsi/xen-scsiback/scsiback.c | 757 ++++++++++++++++++++++++++++++++ drivers/scsi/xen-scsiback/translate.c | 168 +++++++ drivers/scsi/xen-scsiback/xenbus.c | 374 ++++++++++++++++ drivers/scsi/xen-scsifront/Makefile | 4 + drivers/scsi/xen-scsifront/common.h | 137 ++++++ drivers/scsi/xen-scsifront/scsifront.c | 469 ++++++++++++++++++++ drivers/scsi/xen-scsifront/xenbus.c | 414 +++++++++++++++++ include/xen/interface/grant_table.h | 4 + include/xen/interface/io/vscsiif.h | 105 +++++ 15 files changed, 3260 insertions(+), 0 deletions(-) Attachment:
pv-scsi-against.v3.0.patch _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |