diff options
author | Fam Zheng <famz@redhat.com> | 2013-08-23 09:14:46 +0800 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2013-09-06 15:25:08 +0200 |
commit | 9fcb025146676ab376e6159b58f5a5ddb67bf03c (patch) | |
tree | 1b642880bf42f0943ae9533b1fa78f933022b183 /blockdev.c | |
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>
Diffstat (limited to 'blockdev.c')
0 files changed, 0 insertions, 0 deletions