On 03/06/2014 08:44 AM, Kevin Wolf wrote: > If aio=native, we check that cache.direct is set as well. If however > cache wasn't specified at all, qemu just segfaulted. > > The old condition didn't make any sense anyway because it effectively > only checked for the default cache mode case, but not for an explicitly > set cache.direct=off mode. > > Signed-off-by: Kevin Wolf <kw...@redhat.com> > --- > blockdev.c | 6 ++++-- > 1 file changed, 4 insertions(+), 2 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