* Asias He <asias.hejun@xxxxxxxxx> wrote: > Print debug info when we are in qcow1_nowrite_sector > > Signed-off-by: Asias He <asias.hejun@xxxxxxxxx> > --- > tools/kvm/disk/qcow.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/tools/kvm/disk/qcow.c b/tools/kvm/disk/qcow.c > index dd11ed97..29964b9 100644 > --- a/tools/kvm/disk/qcow.c > +++ b/tools/kvm/disk/qcow.c > @@ -323,6 +323,7 @@ static ssize_t qcow1_write_sector(struct disk_image *disk, u64 sector, void *src > static ssize_t qcow1_nowrite_sector(struct disk_image *disk, u64 sector, void *src, u32 src_len) > { > /* I/O error */ > + info("qcow1_nowrite_sector: no write support\n"); Could we make this pr_info(), to roughly match the in-kernel equivalent? There's also pr_warn(), pr_err(), etc. For us poor kernel namespace infested folks :) Thanks, Ingo -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html