Length left to transfer to host.
The command bytes received so far.
Length of the command received from the host.
The current SCSI command.
Buffer with data to transfer.
The length of data to transfer.
The geometry of the disk. ()
Name of the image object holding the actual data of the disk. This object must implement the 'image' interface.
The currently selected LUN (logical unit).
The maximum supported data transfer width in bytes.
Set to 1 if the disk may disconnect from the current session.
Backdoor access: Name of a memory space object, that implements the 'lookup' interface.
Buffer with SCSI message to transfer.
The message bytes received so far.
Length of the message received from the host.
Mode pages for the disk.
Model name of the disk.
The constant delay, in nanoseconds, for a disk transfer. This delay will be added to the size-dependent delay set by the 'ns_per_unit' attribute. Note that this is not the same as average seek time for random accesses. (This attribute will be replaced by a more detailed timing model in the future.)
The number of nanoseconds it takes to transfer data of the size set in the 'timing_unit_size' attribute. This delay will be added to the constant delay set in the 'ns_per_transfer' attribute. (This attribute will be replaced by a more detailed timing model in the future.)
Length of SCSI command queue (not implemented).
Length of data requested from host.
SCSI ID of controller to reselect.
Operation that will continue after reselection.
Set to 1 if the disk supports reselection (not functional).
Set if the device is reserved.
SCSI ID of the initiator that is allowed to use the reserved device. Only valid if the 'reserved_flag' attribute is 1.
SCSI ID of the initiator that performed the reservation of the device. Only valid if the 'reserved_flag' attribute is 1.
Revision string of the disk.
Name of the SCSI bus the disk is connected to. This object must implement the 'scsi-bus' interface.
Pseudo attribute returning the SCSI command name (as a string) given an integer index representing the command.
Target ID on the SCSI bus for the disk.
Can be used to access a sector (512 bytes) on the disk.
Number of sectors read in the current simulation session.
Number of sectors written in the current simulation session.
The selection time on the SCSI bus in seconds.
Current Sense Key code.
Buffer with Status to transfer.
The length of the status field to transfer.
Set to 1 if the disk supports synchronous transfers (no-op).
The amount of data (in bytes) that the is used to calculate disk delays together with the 'ns_per_unit' attribute. (This attribute will be replaced by a more detailed timing model in the future.)
List of active transfer buffers for data message and status.
Vendor name of the disk.
Vendor Specific string for the disk - often used as serial id.
VPD pages for the disk.
add-diff-file | add a diff file to the image |
add-diff-partial-file | add a partial diff file to the image |
add-sun-partition | add partition from a file |
create-partition | add a partition to disk |
create-sun-vtoc-header | write a new VTOC to a Sun disk |
create-sun-vtoc-partition | write partition data in the VTOC on a Sun disk |
delete-sun-vtoc-partition | delete partition data from the VTOC on a Sun disk |
dump-sun-partition | write partition as a file |
info | print information about the device |
print-partition-info | print info about a pc-style partition |
print-partition-table | print the disk's pc-style partition table |
print-sun-vtoc | print the VTOC for a Sun disk |
save-diff-file | save diff file to disk |
status | print status of the device |
The slight overspecification of the parameters is there because they depend on how the BIOS translates the disk geometry to the BIOS geometry. All CHS coordinates given to this command should be in the translated BIOS geometry.
The partition boot bit is enabled with the -boot-indication flag (default off).
The partition type can either raw numerical code, or a symbolic name. The following symbolic names are understood by the command: "unused" (0x0), "DOS 12-bit FAT" (0x1), "DOS 3.0+ 16-bit FAT" (0x4), "DOS 3.3+ extended" (0x5), "DOS 3.31+ 16-bit FAT" (0x6), "OS/2 IFS" (0x7), "OS/2 boot manager" (0xa), "Win95 32-bit FAT" (0xb), "Win95 32-bit FAT, LBA" (0xc), "Win95 16-bit FAT, LBA" (0xe), "Win95 extended, LBA" (0xf), "Linux swap" (0x82), "Linux native" (0x83), "Linux extended" (0x85), "Linux LVM" (0x8e), "BSD/386" (0xa5), "OpenBSD" (0xa6), "NetBSD" (0xa9), and "BeOS" (0xeb).