def get_disk_backing_file(path, basename=True):
 backing_file = images.qemu_img_info(path).backing_file
 if (backing_file and basename):
  backing_file = os.path.basename(backing_file)
 return backing_file

def get_disk_backing_file ( path , basename = True ) : backing_file = images . qemu_img_info ( path ) . backing_file if ( backing_file and basename ) : backing_file = os . path . basename ( backing_file ) return backing_file
get the backing file of a disk image .