-
Committer:
Anthony Liguori
-
Author(s):
Kevin Wolf
-
Date:
2009-07-22 15:58:47 UTC
-
Revision ID:
git-v1:b171271a50be01f2690077970fa7e60b8e8eb9d9
vmdk: Fix backing file handling
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: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>