Adding Generic SCSI Devices

When adding MKXnnn and DKXnnn SCSI devices to the configuration of the emulated system, Charon-PAR 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-PAR 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-PAR 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:

load GKC600

GKC600.devname="/dev/sg0"



© Stromasys, 1999-2024  - All the information is provided on the best effort basis, and might be changed anytime without notice. Information provided does not mean Stromasys commitment to any features described.