When adding MKXnnn and DKXnnn SCSI devices to the configuration of the emulated system, Charon-HPA uses the Linux SCSI disk and tape interface. The emulator provides an emulated disk or tape device to the guest system and translates between this emulated device and the Linux device interface.
On the other hand, when adding a generic SCSI device (GKXnnn) to the configuration of the emulated system, Charon-HPA passes the SCSI commands of the guest system through to the generic Linux SCSI device (/dev/sgX). The guest system communicates directly with the device. This may be helpful if the device used is not a standard disk or tape device.
Please note:
- Only a disk or tape generic SCSI device can be used in the Charon-HPA configuration.
- It is not certain that a generic SCSI device will work together with the guest operating system. This depends on the compatibility of the guest system SCSI commands and the capabilities of the device.
In contrast to MK and DK devices, the generic device configuration uses devname
instead of image
to specify the linked Linux device.
The following example adds SCSI generic device /dev/sg0 with device path 0/0/2/0.6.0 (controller C, SCSI target ID 6, LUN 0) to the configuration:
|