qemu-devel
[Top][All Lists]
Advanced

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

Re: [RFC PATCH 0/2] qtest: Log verbosity changes


From: Thomas Huth
Subject: Re: [RFC PATCH 0/2] qtest: Log verbosity changes
Date: Fri, 6 Sep 2024 08:16:31 +0200
User-agent: Mozilla Thunderbird

On 05/09/2024 23.03, Fabiano Rosas wrote:
Hi,

This series silences QEMU stderr unless the QTEST_LOG variable is set
and silences -qtest-log unless both QTEST_LOG and gtest's --verbose
flag is passed.

This was motivated by Peter Maydell's ask to suppress deprecation
warn_report messages from the migration-tests and by my own
frustration over noisy output from qtest.

Not sure whether we want to ignore stderr by default... we might also miss important warnings or error messages that way...?

If you just want to suppress one certain warning, I think it's maybe best to fence it with "if (!qtest_enabled()) { ... }" on the QEMU side - at least that's what we did in similar cases a couple of times, IIRC.

 Thomas





reply via email to

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