Markus Armbruster
9ba10c95a4
block: Make BlockBackend own its BlockDriverState
...
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>
2014-10-20 13:41:26 +02:00
..
2014-09-04 10:51:13 -05:00
2014-10-15 05:03:13 +02:00
2014-10-03 10:30:33 +01:00
2014-09-12 16:55:49 +01:00
2014-09-29 10:20:05 +02:00
2014-10-20 13:41:26 +02:00
2014-08-15 19:12:48 +04:00
2014-10-15 05:03:13 +02:00
2014-10-15 05:03:15 +02:00
2014-10-15 05:03:13 +02:00
2014-09-09 13:41:43 +02:00
2014-10-15 11:10:50 +02:00
2014-09-16 12:35:02 +02:00
2014-09-12 14:06:48 +01:00
2014-09-02 22:38:16 +04:00
2014-10-16 09:24:45 +01:00
2014-10-15 10:45:51 +02:00
2014-09-29 18:48:48 +01:00
2014-09-29 18:48:47 +01:00
2014-08-18 12:06:21 +02:00
2014-10-15 05:03:13 +02:00
2014-09-09 13:41:43 +02:00
2014-09-09 13:41:43 +02:00
2014-09-29 19:44:04 +03:00
2014-09-09 13:41:43 +02:00
2014-10-03 10:30:33 +01:00
2014-10-15 10:46:01 +02:00
2014-09-09 13:41:43 +02:00
2014-10-15 10:46:01 +02:00
2014-10-15 09:52:15 +02:00
2014-09-09 13:41:43 +02:00
2014-10-15 05:03:13 +02:00
2014-10-15 05:03:13 +02:00
2014-09-12 16:55:49 +01:00
2014-06-30 21:13:30 +02:00
2014-10-03 10:30:33 +01:00
2014-10-16 09:24:45 +01:00
2014-10-16 09:24:45 +01:00
2014-08-04 14:41:54 +01:00
2014-09-09 13:41:43 +02:00
2014-09-23 22:23:14 +01:00
2014-10-03 10:30:33 +01:00
2014-08-15 18:54:40 +04:00
2014-09-11 12:20:32 +02:00
2014-08-25 00:16:06 +02:00
2014-09-09 13:41:43 +02:00
2014-09-09 13:41:43 +02:00
2014-10-16 09:24:45 +01:00
2014-10-16 09:24:45 +01:00
2014-08-18 12:06:21 +02:00
2014-08-18 12:06:21 +02:00
2014-09-09 13:41:43 +02:00