Re: [Qemu-devel] scsi-bus: Add support for SCSI scanners

2016-06-30 Thread Jarkko Lavinen
On Thu, Jun 30, 2016 at 05:53:37PM +0200, Paolo Bonzini wrote: > > The extra sense bit seems to be a kind of internal busy/film holder > > moving status. After having this sense bit available scanning programs > > have been very stable and every feature seems to be working. > > Thanks! Out of cu

Re: [Qemu-devel] scsi-bus: Add support for SCSI scanners

2016-06-30 Thread Paolo Bonzini
On 29/06/2016 19:36, Jarkko Lavinen wrote: > On Tue, Jun 28, 2016 at 07:14:55PM +0200, Paolo Bonzini wrote: >> This is wrong, because INQUIRY's byte 3 is defined to be part of the >> length in modern SCSI standards. > >> This is wrong, because INQUIRY's byte 3 is defined to be part of the >> len

Re: [Qemu-devel] scsi-bus: Add support for SCSI scanners

2016-06-29 Thread Jarkko Lavinen
On Tue, Jun 28, 2016 at 07:14:55PM +0200, Paolo Bonzini wrote: > This is wrong, because INQUIRY's byte 3 is defined to be part of the > length in modern SCSI standards. > This is wrong, because INQUIRY's byte 3 is defined to be part of the > length in modern SCSI standards. Ok. I was using outdate

Re: [Qemu-devel] scsi-bus: Add support for SCSI scanners

2016-06-28 Thread Paolo Bonzini
> +case INQUIRY: This is wrong, because INQUIRY's byte 3 is defined to be part of the length in modern SCSI standards. Perhaps you can move it to scsi_req_scanner_length if really necessary? > case MODE_SENSE: > +case MODE_SELECT: > +case REQUEST_SENSE: > +cmd->xfer = bu

[Qemu-devel] scsi-bus: Add support for SCSI scanners

2016-06-28 Thread Jarkko Lavinen
I have been trying to get Minolta Multi Pro SCSI film scanner working with Qemu in Linux and WinXP guests. With Linux guest and virtio interface the scanner works out of the box. Unfortunately I haven't been able to find virtio SCSI driver for Win XP. With Linux guest and pvscsi driver additional