diff options
author | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2022-06-22 11:53:12 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-07-13 16:58:58 +0200 |
commit | 356c4c441ec01910314c5867c680bef80d1dd373 (patch) | |
tree | 9341c288608f84b14764fab8db809ba620d9fc3e /hw/m68k/q800.c | |
parent | 4536fba00ad5a6018ee3c0451808f5c5698796ee (diff) | |
download | qemu-356c4c441ec01910314c5867c680bef80d1dd373.zip qemu-356c4c441ec01910314c5867c680bef80d1dd373.tar.gz qemu-356c4c441ec01910314c5867c680bef80d1dd373.tar.bz2 |
scsi-disk: allow MODE SELECT block descriptor to set the block size
The MODE SELECT command can contain an optional block descriptor that can be used
to set the device block size. If the block descriptor is present then update the
block size on the SCSI device accordingly.
This allows CDROMs to be used with A/UX which requires a CDROM drive which is
capable of switching from a 2048 byte sector size to a 512 byte sector size.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: <20220622105314.802852-13-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/m68k/q800.c')
0 files changed, 0 insertions, 0 deletions