From: Paolo Bonzini <pbonzini@redhat.com>
Cc: amit.shah@redhat.com, owasserm@redhat.com, qemu-devel@nongnu.org,
mst@redhat.com
Subject: Re: [Qemu-devel] [PATCH 0/3] decouple VIRTIO_BLK_F_SCSI from SG_IO support
Date: Mon, 12 Mar 2012 15:32:55 +0100 [thread overview]
Message-ID: <4F5E0917.7000001@redhat.com> (raw)
In-Reply-To: <1331143301-28408-1-git-send-email-pbonzini@redhat.com>
Il 07/03/2012 19:01, Paolo Bonzini ha scritto:
> VIRTIO_BLK_F_SCSI is supposed to mean whether the host can *parse*
> SCSI requests, not *execute* them. So it should always be enabled,
> and the scsi=on/off property tied to a separate configuration variable
> that is not guest visible.
>
> With this change, Linux has problems understanding failed requests, so
> patch 1 works around the Linux bugs.
>
> Important: because we need to do this to fix a migration compatibility
> problem when QEMU might be invoked with an old machine type, we must do
> this unconditionally. This more or less assumes that no one ever invoked
> QEMU with scsi=off, as it breaks migration from new QEMU, scsi=off to
> old QEMU, also scsi=off. However new->old is not supported upstream.
> If any downstream cares about new->old migration, they can apply v1 of
> the patches instead of this.
>
> Paolo Bonzini (3):
> virtio-blk: report non-zero status when failing SG_IO requests
> virtio-blk: define VirtIOBlkConf
> virtio-blk: always enable VIRTIO_BLK_F_SCSI
>
> hw/s390-virtio-bus.c | 10 ++++--
> hw/s390-virtio-bus.h | 4 +-
> hw/virtio-blk.c | 77 ++++++++++++++++++++++++-------------------------
> hw/virtio-blk.h | 14 +++++----
> hw/virtio-pci.c | 11 ++++---
> hw/virtio-pci.h | 4 +-
> hw/virtio.h | 4 +-
> 7 files changed, 64 insertions(+), 60 deletions(-)
>
Ping.
Paolo
prev parent reply other threads:[~2012-03-12 14:33 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-07 18:01 [Qemu-devel] [PATCH 0/3] decouple VIRTIO_BLK_F_SCSI from SG_IO support Paolo Bonzini
2012-03-07 18:01 ` [Qemu-devel] [PATCH 1/3] virtio-blk: report non-zero status when failing SG_IO requests Paolo Bonzini
2012-03-13 13:36 ` Orit Wasserman
2012-03-13 13:39 ` Paolo Bonzini
2012-03-13 13:44 ` Orit Wasserman
2012-03-13 15:17 ` Eric Blake
2012-03-07 18:01 ` [Qemu-devel] [PATCH 2/3] virtio-blk: define VirtIOBlkConf Paolo Bonzini
2012-03-07 18:01 ` [Qemu-devel] [PATCH 3/3] virtio-blk: always enable VIRTIO_BLK_F_SCSI Paolo Bonzini
2012-03-12 14:32 ` Paolo Bonzini [this message]
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=4F5E0917.7000001@redhat.com \
--to=pbonzini@redhat.com \
--cc=amit.shah@redhat.com \
--cc=mst@redhat.com \
--cc=owasserm@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).