Fam Zheng
97ec9117c3
file-posix: Clear out first sector in hdev_create
...
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 <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2017-09-26 14:46:23 +02:00
..
2017-06-16 07:55:00 +08:00
2017-09-04 13:09:13 +02:00
2017-09-04 18:31:13 +02:00
2017-06-26 14:54:46 +02:00
2017-06-26 14:54:46 +02:00
2017-09-05 16:47:52 +02:00
2017-09-04 18:31:13 +02:00
2017-07-11 17:45:01 +02:00
2017-07-11 17:44:56 +02:00
2017-05-16 10:34:50 -04:00
2017-07-24 15:06:04 +02:00
2017-08-31 12:29:07 +02:00
2017-09-26 14:46:23 +02:00
2017-09-04 13:09:13 +02:00
2017-09-04 13:09:13 +02:00
2017-09-04 18:31:13 +02:00
2017-09-19 14:09:31 +02:00
2017-09-06 10:12:02 +02:00
2017-09-04 18:31:13 +02:00
2017-09-06 10:11:54 -05:00
2017-08-23 11:22:15 -05:00
2017-07-14 12:04:42 +02:00
2017-09-04 13:09:13 +02:00
2017-08-08 15:19:16 +02:00
2017-09-04 13:09:13 +02:00
2017-09-05 16:47:51 +02:00
2017-07-25 16:33:31 +02:00
2017-08-31 15:52:43 +01:00
2017-07-31 13:06:38 +03:00
2017-05-11 14:28:07 +02:00
2017-09-19 14:09:34 +02:00
2017-07-11 17:45:02 +02:00
2017-09-04 18:33:00 +02:00
2017-07-17 11:34:11 +08:00
2017-07-17 11:34:11 +08:00
2017-07-17 11:34:11 +08:00
2017-09-04 13:09:13 +02:00
2017-07-17 11:34:11 +08:00
2017-09-04 13:09:13 +02:00
2017-09-04 18:31:13 +02:00
2017-09-04 13:09:13 +02:00
2017-07-10 13:18:07 +02:00
2017-09-05 14:14:33 +01:00
2017-05-09 09:13:51 +02:00
2017-09-05 13:21:58 +01:00
2017-07-10 13:18:07 +02:00
2017-09-06 10:12:02 +02:00
2017-09-06 10:12:02 +02:00
2017-08-07 09:39:35 +01:00
2017-07-17 11:28:15 +08:00
2017-08-31 12:29:07 +02:00
2017-08-08 14:37:00 +02:00
2017-08-08 15:19:16 +02:00
2017-08-31 12:29:07 +02:00
2017-09-19 14:09:34 +02:00
2017-05-09 09:13:51 +02:00