Kevin Wolf df26a35025 raw-posix: Fail gracefully if no working alignment is found
If qemu couldn't find out what O_DIRECT alignment to use with a given
file, it would run into assert(bdrv_opt_mem_align(bs) != 0); in block.c
and confuse users. This adds a more descriptive error message for such
cases.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2014-07-18 13:18:43 +01:00
..
2014-06-16 17:23:21 +08:00
2014-07-15 15:34:13 +02:00
2014-02-25 10:50:11 +00:00
2014-06-26 13:51:01 +02:00
2014-04-01 15:22:35 +02:00
2014-06-16 17:23:21 +08:00
2014-06-16 17:23:21 +08:00
2014-06-16 17:23:21 +08:00
2014-07-01 10:15:12 +02:00
2014-03-25 14:09:50 +01:00
2014-06-16 17:23:21 +08:00
2014-07-01 10:15:12 +02:00
2014-06-16 17:23:21 +08:00