On 07/16/2014 09:48 AM, Kevin Wolf wrote: > 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 <kw...@redhat.com> > --- > block/raw-posix.c | 35 +++++++++++++++++++++++++++-------- > 1 file changed, 27 insertions(+), 8 deletions(-) >
Reviewed-by: Eric Blake <ebl...@redhat.com> -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature