diff options
| author | Kevin Wolf <kwolf@redhat.com> | 2015-03-16 17:11:12 +0100 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2015-03-16 17:11:12 +0100 |
| commit | 47aced5078e13d6c1f4fbb59616654e577af8aaa (patch) | |
| tree | 3aea3c10cc10a200a511a845d7b42222e7c6d12a /block.c | |
| parent | 2867ce4ab86c77579e94c6bb2b6e44ddfcf67f5d (diff) | |
| parent | 304ee9174f4761d3f4da611352a815ab27baba06 (diff) | |
| download | focaccia-qemu-47aced5078e13d6c1f4fbb59616654e577af8aaa.tar.gz focaccia-qemu-47aced5078e13d6c1f4fbb59616654e577af8aaa.zip | |
Merge remote-tracking branch 'mreitz/block' into queue-block
* mreitz/block: block/vpc: remove disabled code from get_sector_offset block/vpc: rename footer->size -> footer->current_size block/vpc: make calculate_geometry spec conform vpc: Ignore geometry for large images block/vpc: optimize vpc_co_get_block_status block: Drop bdrv_find blockdev: Convert bdrv_find to blk_by_name migration: Convert bdrv_find to blk_by_name monitor: Convert bdrv_find to blk_by_name iotests: Test non-self-referential qcow2 refblocks iotests: Add tests for refcount table growth qcow2: Respect new_block in alloc_refcount_block()
Diffstat (limited to 'block.c')
| -rw-r--r-- | block.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/block.c b/block.c index 10c32eb327..0fe97de568 100644 --- a/block.c +++ b/block.c @@ -3821,15 +3821,6 @@ void bdrv_iterate_format(void (*it)(void *opaque, const char *name), g_free(formats); } -/* This function is to find block backend bs */ -/* TODO convert callers to blk_by_name(), then remove */ -BlockDriverState *bdrv_find(const char *name) -{ - BlockBackend *blk = blk_by_name(name); - - return blk ? blk_bs(blk) : NULL; -} - /* This function is to find a node in the bs graph */ BlockDriverState *bdrv_find_node(const char *node_name) { |