Revision 8d2497c3
ID | 8d2497c3552e19a60e7a75d20976471ecb2a8e2b |
qcow2: Fix segfault on zero-length write
One of the recent refactoring patches (commit f50f88b9) didn't take care
to initialise l2meta properly, so with zero-length writes, which don't
even enter the write loop, qemu just segfaulted.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Files
- added
- modified
- copied
- renamed
- deleted