qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: qemu-devel@nongnu.org
Cc: famz@redhat.com, danielhb@linux.vnet.ibm.com
Subject: [Qemu-devel] [PATCH v4 0/2] hw/scsi: support SCSI-2 passthrough without PI
Date: Thu,  5 Apr 2018 18:23:45 +0200	[thread overview]
Message-ID: <20180405162347.5623-1-pbonzini@redhat.com> (raw)

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

             reply	other threads:[~2018-04-05 16:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-05 16:23 Paolo Bonzini [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180405162347.5623-1-pbonzini@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=danielhb@linux.vnet.ibm.com \
    --cc=famz@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).