commit | 9fcb025146676ab376e6159b58f5a5ddb67bf03c | [log] [tgz] |
---|---|---|
author | Fam Zheng <famz@redhat.com> | Fri Aug 23 09:14:46 2013 +0800 |
committer | Stefan Hajnoczi <stefanha@redhat.com> | Fri Sep 06 15:25:08 2013 +0200 |
tree | 1b642880bf42f0943ae9533b1fa78f933022b183 | |
parent | 13c91cb7e28b47f5c4227f7e88a1378570117704 [diff] |
block: implement reference count for BlockDriverState Introduce bdrv_ref/bdrv_unref to manage the lifecycle of BlockDriverState. They are unused for now but will used to replace bdrv_delete() later. Signed-off-by: Fam Zheng <famz@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>