Re: [Qemu-devel] [PATCH v4 0/2] hw/scsi: support SCSI-2 passthrough without PI

2018-04-06 Thread Daniel Henrique Barboza
On 04/06/2018 07:12 AM, Paolo Bonzini wrote: On 06/04/2018 01:10, Daniel Henrique Barboza wrote: Yet another fix is to fully prohibit the user to set scsi_version scsi-block and scsi-generic cases, returning an error message right off the start. Not sure how hard this would be - perhaps the ab

Re: [Qemu-devel] [PATCH v4 0/2] hw/scsi: support SCSI-2 passthrough without PI

2018-04-06 Thread Paolo Bonzini
On 06/04/2018 01:10, Daniel Henrique Barboza wrote: > Yet another fix is to fully prohibit the user to set scsi_version > scsi-block and scsi-generic cases, returning an error message right off > the start. Not sure how hard this would be - perhaps the above > alternatives are cleaner. > > Another

Re: [Qemu-devel] [PATCH v4 0/2] hw/scsi: support SCSI-2 passthrough without PI

2018-04-05 Thread Daniel Henrique Barboza
Hi, On 04/05/2018 01:23 PM, Paolo Bonzini wrote: This is my version of Daniel's patch. In order to keep the RD/WRPROTECT check for emulated SCSI disks, I've added a new property to scsi-disk/hd/cd devices as well. The property, similar to the earlier versions posted by Daniel, is available to

[Qemu-devel] [PATCH v4 0/2] hw/scsi: support SCSI-2 passthrough without PI

2018-04-05 Thread Paolo Bonzini
This is my version of Daniel's patch. In order to keep the RD/WRPROTECT check for emulated SCSI disks, I've added a new property to scsi-disk/hd/cd devices as well. The property, similar to the earlier versions posted by Daniel, is available to the user, but for scsi-disk/hd/cd it affects the INQ