commit | 9ffe333276de8ef463896303fb951f03fd4ffcb4 | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Thu Apr 17 16:57:13 2014 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Tue Apr 22 12:00:24 2014 +0200 |
tree | 8f3c9ad66977488bfcaee0b7630939ce0209a0cf | |
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>