Hi all.
I have 2 quiestions.
Q1.
If we make virtual SCSI disk(PCI scsi card don’t use),
we can use SCSI Port(Scsiport.sys) or StorPort(Storport.sys) ?
Or should we develop the private Port driver?
(ISCSI uses neither Scsiport nor Storport. )
Q2.
What does a virtual device like iSCSI set in BusType?
typedef enum _INTERFACE_TYPE {
InterfaceTypeUndefined = -1,
Internal,
Isa,
Eisa,
MicroChannel,
TurboChannel,
PCIBus,
VMEBus,
NuBus,
PCMCIABus,
CBus,
MPIBus,
MPSABus,
ProcessorInternal,
InternalPowerBus,
PNPISABus,
PNPBus,
MaximumInterfaceType
}INTERFACE_TYPE, *PINTERFACE_TYPE;
fj6521er@aa.jp.fujitsu.com дµÀ:
Hi all.
I have 2 quiestions.
Q1.
If we make virtual SCSI disk(PCI scsi card don’t use),
we can use SCSI Port(Scsiport.sys) or StorPort(Storport.sys) ?
Or should we develop the private Port driver?
(ISCSI uses neither Scsiport nor Storport. )
It depends on your requirement. If you need a high performance virtual
disk, a monolithic port driver is the best candidate. Otherwise,
miniport driver is much simple. For software only miniport driver, there
is some hack skill to help you. Please search the archive for it.
Q2.
What does a virtual device like iSCSI set in BusType?
typedef enum _INTERFACE_TYPE {
InterfaceTypeUndefined = -1,
Internal,
Isa,
Eisa,
MicroChannel,
TurboChannel,
PCIBus,
VMEBus,
NuBus,
PCMCIABus,
CBus,
MPIBus,
MPSABus,
ProcessorInternal,
InternalPowerBus,
PNPISABus,
PNPBus,
MaximumInterfaceType
}INTERFACE_TYPE, *PINTERFACE_TYPE;
Internal BusType is appropriate. Someone also use Isa to develop their
own miniport driver.
Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
Thank you for a quick answer.
I want to make the driver from few labors as much as possible.
I worried that Storport did not support a virtual device.
If storport supports a virtual device then we should use it.
It is technically possible to create a virtual storport, but the downside is Windows 2003 is the minimum requirement. What will you do for XP and 2000? Because virtual miniports and virtual port drivers are not a supported practice, you won’t find any examples in the DDK. However, because it is a common practice there is sample code on the web such as http://www.perisoft.net/miniport/index.htm to help meet your “few labors” desire. If you write your own from scratch, just be forewarned you will quickly find out why it is unsupported as there are a number of challenging obstacles that you must overcome and if not done correctly will cause system stability problems.
While a port driver can give optimal performance, an advantage of writing a miniport is because Microsoft plans to release an official way of writing virtual miniports in the future (but note the timeframe and capabilities are unknown). This will actually be a virtual storport architecture. Thus, your code will be ready for this kind of transition since it is the same architecture.
eof
I am very glad to receive your advice.
Your advice is very important for us.
What will you do for XP and 2000?
Do nothing.We only have to support Winodws 2003.
I wish MicroSoft to release the reference code early.
I make an effort till then.