diff options
| author | Kevin Wolf <kwolf@redhat.com> | 2013-06-26 09:41:57 +0200 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2013-06-28 09:20:27 +0200 |
| commit | 8ab6feec2c7500faafd9a4571fb40d03dd360a64 (patch) | |
| tree | 0c77a6ed4487d8c299d96ee0330e9ca3395f318b /hw/i2c/omap_i2c.c | |
| parent | 0b3f21e6a99c025c829d342ee417f317fe2e03b2 (diff) | |
| download | focaccia-qemu-8ab6feec2c7500faafd9a4571fb40d03dd360a64.tar.gz focaccia-qemu-8ab6feec2c7500faafd9a4571fb40d03dd360a64.zip | |
gluster: Return bdrv_has_zero_init = 0
GlusterFS volumes can be backed by block devices, in which case bdrv_create() doesn't make sure that the image is zeroed out. It is currently not possibly to detect whether a given image is backed by a file or a block device, and incorrectly assuming that it is zeroed corrupts images during qemu-img convert, so let's err on the side of caution and always return 0. Cc: qemu-stable@nongnu.org Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/i2c/omap_i2c.c')
0 files changed, 0 insertions, 0 deletions