-
Stefan Weil authored
Even it is not very useful, users may create images of size 0. Without the special option CONFIG_ZERO_MALLOC, qemu_mallocz aborts execution when it is told to allocate 0 bytes, so avoid this kind of call. Cc: Kevin Wolf <kwolf@redhat.com> Signed-off-by:
Stefan Weil <weil@mail.berlios.de>
Signed-off-by:
Kevin Wolf <kwolf@redhat.com>Stefan Weil authoredEven it is not very useful, users may create images of size 0. Without the special option CONFIG_ZERO_MALLOC, qemu_mallocz aborts execution when it is told to allocate 0 bytes, so avoid this kind of call. Cc: Kevin Wolf <kwolf@redhat.com> Signed-off-by:
Stefan Weil <weil@mail.berlios.de>
Signed-off-by:
Kevin Wolf <kwolf@redhat.com>
Loading