aboutsummaryrefslogtreecommitdiff
path: root/target-mips/mips-defs.h
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2014-07-16 17:48:17 +0200
committerStefan Hajnoczi <stefanha@redhat.com>2014-07-18 13:18:43 +0100
commitdf26a35025427f34c1d4e5a8e51152371a5e231e (patch)
treeef98a74d356dc8ca383023ea902fbb0d32f9d277 /target-mips/mips-defs.h
parent3baca891391afba154e250f5a108c6bab6c92cf9 (diff)
downloadqemu-df26a35025427f34c1d4e5a8e51152371a5e231e.zip
qemu-df26a35025427f34c1d4e5a8e51152371a5e231e.tar.gz
qemu-df26a35025427f34c1d4e5a8e51152371a5e231e.tar.bz2
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>
Diffstat (limited to 'target-mips/mips-defs.h')
0 files changed, 0 insertions, 0 deletions