qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v4 0/2] hw/scsi: support SCSI-2 passthrough without PI
@ 2018-04-05 16:23 Paolo Bonzini
  2018-04-05 16:23 ` [Qemu-devel] [PATCH 1/2] scsi-disk: allow customizing the SCSI version Paolo Bonzini
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Paolo Bonzini @ 2018-04-05 16:23 UTC (permalink / raw)
  To: qemu-devel; +Cc: famz, danielhb

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 INQUIRY value returned by the emulated
INQUIRY command.

Daniel, can you please test it?

Thanks,

Paolo

Daniel Henrique Barboza (1):
  hw/scsi: support SCSI-2 passthrough without PI

Paolo Bonzini (1):
  scsi-disk: allow customizing the SCSI version

 hw/scsi/scsi-disk.c    | 29 ++++++++++++++++++++++++-----
 hw/scsi/scsi-generic.c | 48 +++++++++++++++++++++++++++++++++++++-----------
 include/hw/scsi/scsi.h |  2 ++
 3 files changed, 63 insertions(+), 16 deletions(-)

-- 
2.16.2

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-04-06 12:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-05 16:23 [Qemu-devel] [PATCH v4 0/2] hw/scsi: support SCSI-2 passthrough without PI Paolo Bonzini
2018-04-05 16:23 ` [Qemu-devel] [PATCH 1/2] scsi-disk: allow customizing the SCSI version Paolo Bonzini
2018-04-05 22:49   ` Daniel Henrique Barboza
2018-04-05 16:23 ` [Qemu-devel] [PATCH 2/2] hw/scsi: support SCSI-2 passthrough without PI Paolo Bonzini
2018-04-05 23:10 ` [Qemu-devel] [PATCH v4 0/2] " Daniel Henrique Barboza
2018-04-06 10:12   ` Paolo Bonzini
2018-04-06 12:06     ` Daniel Henrique Barboza

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).