]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
kvm tools: Remove async flag from QCOW
authorSasha Levin <levinsasha928@gmail.com>
Wed, 9 Nov 2011 12:00:49 +0000 (14:00 +0200)
committerPekka Enberg <penberg@kernel.org>
Wed, 9 Nov 2011 14:56:32 +0000 (16:56 +0200)
QCOW disk image async flag was erroneously enabled, while QCOW doesn't support
async ops yet.

This has caused a hang when booting QCOW images.

Reported-and-tested-by: Richard -rw- Weinberger <richard.weinberger@gmail.com>
Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/disk/qcow.c

index 87385df721e5d954c6a2f6a0f2aa1d071aea3092..680b37d01489fe19afb9fddc3d427cf29592a024 100644 (file)
@@ -1146,7 +1146,7 @@ static struct disk_image *qcow2_probe(int fd, bool readonly)
        if (!disk_image)
                goto free_refcount_table;
 
-       disk_image->async = 1;
+       disk_image->async = 0;
        disk_image->priv = q;
 
        return disk_image;