From: Sasha Levin Date: Wed, 9 Nov 2011 12:00:49 +0000 (+0200) Subject: kvm tools: Remove async flag from QCOW X-Git-Tag: next-20111110~2^2~2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=574a70130dbaac0eb430f5622032dfbfd28bffdc;p=karo-tx-linux.git kvm tools: Remove async flag from QCOW 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 Signed-off-by: Sasha Levin Signed-off-by: Pekka Enberg --- diff --git a/tools/kvm/disk/qcow.c b/tools/kvm/disk/qcow.c index 87385df721e5..680b37d01489 100644 --- a/tools/kvm/disk/qcow.c +++ b/tools/kvm/disk/qcow.c @@ -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;