Yeah..was kind of busy the past time and there wasn't really few interesting stuff that's worth blogging it.
On my customer wanted to use a tape drive in a vm for backup propose. Yes, you are right, basicly it's a bad idea to attach external devices to a vm...but you all know customers. :)
So, as Xen Enterprise doesn't support scsi passthrough i in first place tought about some scsi-to-ip-bridge wich are available but are not that cheap. But, if such a device can do that job, why not just create a iscsi target that does it?
I figured out that this wasn't quite that hard to configure and with the help of a nice guy who put a howto together it fitted quite fast.
First you have to get the DDK of your XenEnterprise version.
Second step would be to get and compile ietd with the rawio patch.
At last would be to copy the compiled ietd over to the dom0, install and configure it to give access to the scsi-device.
Here is the link to the complete howto: http://www.wlug.org.nz/XenNotes