Skip to content
  • Kevin Wolf's avatar
    qemu-img: Avoid duplicate block device IDs · 9ffe3332
    Kevin Wolf authored
    
    
    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: default avatarKevin Wolf <kwolf@redhat.com>
    Reviewed-by: default avatarEric Blake <eblake@redhat.com>
    9ffe3332