-
Hanna Reitz authored
The image options which can be amended are described by the .create_opts field for every driver. This field must therefore be non-NULL so that anything can be amended in the first place. Check that this holds true before going into qemu_opts_create() (because if .create_opts is NULL, the create_opts pointer in img_amend() will be NULL after qemu_opts_append()). Cc: qemu-stable@nongnu.org Signed-off-by:
Max Reitz <mreitz@redhat.com>
Reviewed-by:
Kevin Wolf <kwolf@redhat.com>
Signed-off-by:
Kevin Wolf <kwolf@redhat.com>Hanna Reitz authoredThe image options which can be amended are described by the .create_opts field for every driver. This field must therefore be non-NULL so that anything can be amended in the first place. Check that this holds true before going into qemu_opts_create() (because if .create_opts is NULL, the create_opts pointer in img_amend() will be NULL after qemu_opts_append()). Cc: qemu-stable@nongnu.org Signed-off-by:
Max Reitz <mreitz@redhat.com>
Reviewed-by:
Kevin Wolf <kwolf@redhat.com>
Signed-off-by:
Kevin Wolf <kwolf@redhat.com>
Loading