Skip to content
  • Kevin Wolf's avatar
    vmdk: Fix backing file handling · b171271a
    Kevin Wolf authored
    
    
    Instead of storing the backing file in its own BlockDriverState, VMDK uses the
    BlockDriverState of the raw image file it opened. This is wrong and breaks
    functions that access the backing file or protocols. This fix replaces all
    occurrences of s->hd->backing_* with bs->backing_*.
    
    This fixes qemu-iotests failure in 020 (Commit changes to backing file).
    
    Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
    Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
    b171271a