public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Christian Borntraeger <borntraeger@de.ibm.com>
To: Hannes Reinecke <hare@suse.de>
Cc: kvm@vger.kernel.org, virtualization@lists.linux-foundation.org
Subject: Re: [RFC] [PATCH] SCSI passthrough for virtio-blk
Date: Fri, 29 Aug 2008 13:01:44 +0200	[thread overview]
Message-ID: <200808291301.44242.borntraeger@de.ibm.com> (raw)
In-Reply-To: <48B7C159.5010800@suse.de>

Am Freitag, 29. August 2008 schrieb Hannes Reinecke:
> So when using '-drive file=/dev/sgXX,if=virtio,format=host_device' you
> can happily call any sg_XX command on the resulting vdX device. Quite
> neat, methinks. And it's even backwards compatible, so each of these
> patches should work without the other one applied.

Does not work here. If the host does not support the pass-through, the device 
drivers waits for an response. I tried  sdparm /dev/vda with a patched kernel 
and an unpatched userspace.

I think you should use a feature bit to avoid problems.

Christian

  reply	other threads:[~2008-08-29 11:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-29  9:28 [RFC] [PATCH] SCSI passthrough for virtio-blk Hannes Reinecke
2008-08-29 11:01 ` Christian Borntraeger [this message]
2008-08-29 11:47   ` Hannes Reinecke
2008-08-29 12:00     ` Christian Borntraeger
2008-08-29 12:04       ` Hannes Reinecke
2008-08-29 12:48         ` Christian Borntraeger
2008-08-29 13:18         ` Christian Borntraeger

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=200808291301.44242.borntraeger@de.ibm.com \
    --to=borntraeger@de.ibm.com \
    --cc=hare@suse.de \
    --cc=kvm@vger.kernel.org \
    --cc=virtualization@lists.linux-foundation.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