qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] qemu-io read do not dump buffer when in quiet mode


From: Junpeng . Li
Subject: [Qemu-devel] qemu-io read do not dump buffer when in quiet mode
Date: Sat, 21 Apr 2018 00:14:13 +0800

Hi, everyone. I found a question or maybe a bug during use qemu-io to read
a range file and take the params -vq to dump buffer and do not show
I/O statistics. I use the params -vq what i want is just dump buffer
but do not show I/O statistics, but as the result show it is not.

Like below command, it do not dump buffer to standard output.

qemu-io -r -c "read -vq 0 1024" /tmp/test.qcow2

I saw the source code, when has qflag value it just goto out and do
not dump buffer when qflag and vflag has value at the same time.

    if (qflag) {
        goto out;
    }

    if (vflag) {
        dump_buffer(buf, offset, qiov.size);
    }

quiet mode here, it mean do not show I/O statistics or mean complete quiet?

--
BestRegard,
JPL



reply via email to

[Prev in Thread] Current Thread [Next in Thread]