Files
xemu/block
Stefan Hajnoczi 22d182e82b block/raw-posix: fix launching with failed disks
Since commit c25f53b06e ("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>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2015-03-10 14:02:24 +01:00
..
2015-01-13 11:47:56 +00:00
2015-03-10 14:02:21 +01:00
2015-02-06 17:24:21 +01:00
2015-02-16 14:36:03 +00:00
2014-12-10 10:31:19 +01:00
2014-11-03 11:41:47 +00:00
2015-02-06 17:24:21 +01:00
2015-02-16 15:07:19 +00:00
2014-12-12 13:16:56 +00:00
2015-02-16 15:07:17 +00:00