-
Markus Armbruster authored
On BlockBackend destruction, unref its BlockDriverState. Replaces the callers' unrefs. This turns the pointer from BlockBackend to BlockDriverState into a strong reference, managed with bdrv_ref() / bdrv_unref(). The back-pointer remains weak. Signed-off-by:
Markus Armbruster <armbru@redhat.com>
Reviewed-by:
Max Reitz <mreitz@redhat.com>
Reviewed-by:
Kevin Wolf <kwolf@redhat.com>
Signed-off-by:
Kevin Wolf <kwolf@redhat.com>Markus Armbruster authoredOn BlockBackend destruction, unref its BlockDriverState. Replaces the callers' unrefs. This turns the pointer from BlockBackend to BlockDriverState into a strong reference, managed with bdrv_ref() / bdrv_unref(). The back-pointer remains weak. Signed-off-by:
Markus Armbruster <armbru@redhat.com>
Reviewed-by:
Max Reitz <mreitz@redhat.com>
Reviewed-by:
Kevin Wolf <kwolf@redhat.com>
Signed-off-by:
Kevin Wolf <kwolf@redhat.com>
Loading