diff options
| author | Kevin Wolf <kwolf@redhat.com> | 2020-04-30 15:30:03 +0200 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2020-05-08 13:26:35 +0200 |
| commit | 2821c1cc0f8cbfcc332387e83be746af6f27cb4f (patch) | |
| tree | 8718cb3217caee3ec65fae3fc6ee98300aede534 /scripts/qapi/introspect.py | |
| parent | 4dc20e6465eccd2466a449d3fb49539f5d9f53dd (diff) | |
| download | focaccia-qemu-2821c1cc0f8cbfcc332387e83be746af6f27cb4f.tar.gz focaccia-qemu-2821c1cc0f8cbfcc332387e83be746af6f27cb4f.zip | |
vmdk: Fix zero cluster allocation
m_data must contain valid data even for zero clusters when no cluster was allocated in the image file. Without this, zero writes segfault with images that have zeroed_grain=on. For zero writes, we don't want to allocate a cluster in the image file even in compressed files. Fixes: 524089bce43fd1cd3daaca979872451efa2cf7c6 Signed-off-by: Kevin Wolf <kwolf@redhat.com> Message-Id: <20200430133007.170335-3-kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'scripts/qapi/introspect.py')
0 files changed, 0 insertions, 0 deletions