mirror of
https://github.com/clearlinux/kvmtool.git
synced 2026-06-16 02:15:47 +00:00
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 <richard.weinberger@gmail.com> Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user