if ((lofd = virFileLoopDeviceAssociate(fs->src, &loname)) < 0)
return -1;
+ VIR_DEBUG("Changing fs %s to use type=block for dev %s",
+ fs->src, loname);
/*
* We now change it into a block device type, so that
* the rest of container setup 'just works'
if ((lofd = virFileLoopDeviceAssociate(disk->src, &loname)) < 0)
return -1;
+ VIR_DEBUG("Changing disk %s to use type=block for dev %s",
+ disk->src, loname);
+
/*
* We now change it into a block device type, so that
* the rest of container setup 'just works'
&dev) < 0)
return -1;
+ VIR_DEBUG("Changing fs %s to use type=block for dev %s",
+ fs->src, dev);
/*
* We now change it into a block device type, so that
* the rest of container setup 'just works'
&dev) < 0)
return -1;
+ VIR_DEBUG("Changing disk %s to use type=block for dev %s",
+ disk->src, dev);
/*
* We now change it into a block device type, so that
* the rest of container setup 'just works'