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-by: richard -rw- weinberger <richard.weinberger@xxxxxxxxx> Signed-off-by: Sasha Levin <levinsasha928@xxxxxxxxx> --- tools/kvm/disk/qcow.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tools/kvm/disk/qcow.c b/tools/kvm/disk/qcow.c index 87385df..680b37d 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; -- 1.7.7.2 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html