[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH v3] file-posix: Clear out first sector in hdev_c
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-block] [PATCH v3] file-posix: Clear out first sector in hdev_create |
Date: |
Fri, 8 Sep 2017 12:30:35 +0200 |
User-agent: |
Mutt/1.8.3 (2017-05-23) |
Am 08.09.2017 um 11:44 hat Fam Zheng geschrieben:
> People get surprised when, after "qemu-img create -f raw /dev/sdX", they
> still see qcow2 with "qemu-img info", if previously the bdev had a qcow2
> header. While this is natural because raw doesn't need to write any
> magic bytes during creation, hdev_create is free to clear out the first
> sector to make sure the stale qcow2 header doesn't cause such confusion.
>
> Signed-off-by: Fam Zheng <address@hidden>
Thanks, applied to the block branch.
Kevin