From 59e8453a72e598b9bef47200ebed3abbd0b31957 Mon Sep 17 00:00:00 2001 From: Sasha Levin Date: Wed, 9 Nov 2011 14:00:49 +0200 Subject: [PATCH] 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 --- disk/qcow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/disk/qcow.c b/disk/qcow.c index 87385df..680b37d 100644 --- a/disk/qcow.c +++ b/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;