diff options
author | Kevin Wolf <kwolf@redhat.com> | 2014-04-17 16:57:13 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2014-04-22 12:00:24 +0200 |
commit | 9ffe333276de8ef463896303fb951f03fd4ffcb4 (patch) | |
tree | 8f3c9ad66977488bfcaee0b7630939ce0209a0cf /block.c | |
parent | 98522f63f40adaebc412481e1d2e9170160d4539 (diff) |
qemu-img: Avoid duplicate block device IDs
qemu-img used to use "image" as ID for all block devices. This means
that e.g. img_convert() ended up with potentially multiple source images
and one target image, all with the same ID. The next patch will catch
this and fail to open the block device.
This patch makes sure that qemu-img uses meaningful unique IDs for the
block devices it uses.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'block.c')
0 files changed, 0 insertions, 0 deletions