From: Stefan Hajnoczi <stefanha@redhat.com>
To: Kevin Wolf <kwolf@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>, qemu-devel@nongnu.org, hare@suse.de
Subject: Re: [Qemu-devel] [PATCH] block/raw-posix: fix launching with failed disks
Date: Thu, 5 Mar 2015 11:45:45 -0600 [thread overview]
Message-ID: <20150305174545.GC19499@stefanha-thinkpad.redhat.com> (raw)
In-Reply-To: <20150305125357.GB5427@noname.redhat.com>
[-- Attachment #1: Type: text/plain, Size: 1241 bytes --]
On Thu, Mar 05, 2015 at 01:53:57PM +0100, Kevin Wolf wrote:
> Am 04.03.2015 um 23:48 hat Stefan Hajnoczi geschrieben:
> > Since commit c25f53b06eba1575d5d0e92a0132455c97825b83 ("raw: Probe
> > required direct I/O alignment") QEMU has failed to launch if image files
> > produce I/O errors.
> >
> > Previously, QEMU would launch successfully and the guest would see the
> > errors when attempting I/O.
> >
> > This is a regression and may prevent multipath I/O inside the guest,
> > where QEMU must launch and let the guest figure out by itself which
> > disks are online.
> >
> > Tweak the alignment probing code in raw-posix.c to explicitly look for
> > EINVAL on Linux instead of bailing. The kernel refuses misaligned
> > requests with this error code and other error codes can be ignored.
> >
> > Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
>
> This seems to conflict with the geometry series. Please rebase on the
> current block branch.
>
> Also, I would be surprised if this had been working by design. It's
> probably more by chance. If we want to make this a supported case, we
> need to add a qemu-iotests case, as this seems to be easy to break
> accidentally.
Will send v2.
Stefan
[-- Attachment #2: Type: application/pgp-signature, Size: 473 bytes --]
prev parent reply other threads:[~2015-03-05 17:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-04 22:48 [Qemu-devel] [PATCH] block/raw-posix: fix launching with failed disks Stefan Hajnoczi
2015-03-05 12:53 ` Kevin Wolf
2015-03-05 17:45 ` Stefan Hajnoczi [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=20150305174545.GC19499@stefanha-thinkpad.redhat.com \
--to=stefanha@redhat.com \
--cc=hare@suse.de \
--cc=kwolf@redhat.com \
--cc=pbonzini@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).