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-03-04 13:00:36 -05:00
…
2015-02-06 16:11:38 +00:00
2015-03-10 14:02:24 +01:00
2015-02-19 09:33:03 +01:00
2015-02-19 09:33:03 +01:00
2015-02-12 21:21:38 -08:00
…
2014-06-16 13:24:35 +02:00
…
2015-02-23 10:56:09 -05:00
…
…
…
…
2015-02-16 17:30:19 +01:00
2015-01-07 16:16:26 +01:00
2015-02-16 17:31:55 +01:00
…
2015-03-04 14:47:52 +01:00
2015-02-05 17:16:14 +01:00
2015-02-16 14:36:03 +00:00
2015-02-16 15:07:19 +00:00
2014-05-24 00:07:29 +04:00
…
…
2015-01-14 10:38:57 +01:00
2015-02-12 21:21:38 -08:00
…
2014-06-05 16:10:33 +02:00
2014-12-09 21:48:34 +00:00

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team
S
Description
Original Xbox Emulator for Windows, macOS, and Linux (Active Development)
Readme GPL-2.0
713 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 82.3%
C++ 6.9%
Python 3.5%
Dylan 2.7%
Shell 1.5%
Other 2.9%