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-10 10:41:29 +02:00
2014-09-22 11:39:44 +01:00
2014-07-09 15:50:11 +02:00
2014-09-25 15:24:14 +02:00
2014-09-22 11:39:17 +01:00
2014-10-20 13:41:26 +02:00
2014-08-20 11:51:28 +02:00
2014-08-15 15:07:15 +02:00
2014-07-01 10:47:01 +02:00
2014-09-22 11:39:17 +01:00
2014-08-15 15:07:15 +02:00
2014-09-12 15:43:06 +02:00
2014-10-20 13:41:26 +02:00
2014-09-22 11:39:17 +01:00
2014-10-20 13:41:26 +02:00
2014-08-28 13:42:25 +01:00
2014-06-04 09:56:11 +02:00
2014-06-04 09:56:11 +02:00
2014-10-20 13:41:26 +02:00
2014-09-12 15:43:06 +02:00
2014-09-22 11:39:23 +01:00
2014-08-20 11:51:28 +02:00
2014-09-10 10:41:29 +02:00
2014-08-20 11:51:28 +02:00
2014-09-22 11:39:28 +01:00
2014-10-20 13:41:26 +02:00
2014-08-20 11:51:28 +02:00
2014-10-04 19:18:17 +01:00
2014-09-22 11:39:34 +01:00
2014-09-12 15:43:06 +02:00
2014-08-20 11:51:28 +02:00
2014-06-04 09:56:11 +02:00
2014-09-22 11:39:17 +01:00
2014-07-14 12:03:20 +02:00
2014-09-22 11:39:17 +01:00
2014-07-18 13:18:43 +01:00
2014-07-07 11:05:17 +02:00
2014-10-20 13:41:26 +02:00
2014-09-12 15:43:06 +02:00
2014-09-22 11:39:17 +01:00
2014-09-22 11:39:17 +01:00
2014-02-17 11:57:23 -05:00
2014-10-03 10:30:33 +01:00
2014-07-18 13:18:43 +01:00
2014-09-12 15:43:06 +02:00
2014-08-15 15:07:14 +02:00
2014-08-20 11:51:28 +02:00
2014-09-23 12:08:55 +01:00
2014-08-15 15:07:14 +02:00
2014-10-03 10:30:33 +01:00
2014-09-25 15:24:14 +02:00
2014-10-20 13:41:26 +02:00
2014-09-22 11:39:17 +01:00