[Qemu-devel] Re: [PATCH] Fix sparc booting with no CD in drive

2006-08-15 Thread Paul Brook
On Tuesday 15 August 2006 16:45, Blue Swirl wrote: > >Why are we getting reads when no data is available? The command should > >already > >have completed. > > I don't know. Should all SCSI commands return something with the transfer > mechanism? Or is it a bug in OpenBIOS, should it get the SCSI er

[Qemu-devel] Re: [PATCH] Fix sparc booting with no CD in drive

2006-08-15 Thread Blue Swirl
Why are we getting reads when no data is available? The command should already have completed. I don't know. Should all SCSI commands return something with the transfer mechanism? Or is it a bug in OpenBIOS, should it get the SCSI error status somehow without transferring data? The backgrou

[Qemu-devel] Re: [PATCH] Fix sparc booting with no CD in drive

2006-08-14 Thread Paul Brook
On Sunday 13 August 2006 21:00, Blue Swirl wrote: > If there is no CD in drive, sparc system emulator fails to boot. This > happens because error handling is a bit broken in scsi-disk.c. The older > OpenBIOS just didn't care. > Index: qemu/hw/scsi-disk.c > =