qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v5 4/5] parallels: Replace fprintf by qemu_log in check


From: Alexander Ivanov
Subject: Re: [PATCH v5 4/5] parallels: Replace fprintf by qemu_log in check
Date: Fri, 9 Jun 2023 12:36:06 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0



On 6/2/23 16:48, Hanna Czenczek wrote:
On 29.05.23 17:15, Alexander Ivanov wrote:
If the check is called during normal work, tracking of the check must be
present in VM logs to have some clues if something going wrong with user's
data.

I understand stderr counts as part of the VM log, doesn’t it?  I thought stderr is generally logged, and naïvely, it seems like the better fit to me, because it conveys more urgency than the standard log (which, judging from its callers, looks mostly like a debug log).

Hanna
We want to add some image checks to parallels_open(). It means that it will be used not only in qemu-img and we may lose these messages if a log file is specified. Stderr is not duplicated to the log file.

Signed-off-by: Alexander Ivanov <alexander.ivanov@virtuozzo.com>
Reviewed-by: Denis V. Lunev <den@openvz.org>
---
  block/parallels.c | 18 +++++++++---------
  1 file changed, 9 insertions(+), 9 deletions(-)


--
Best regards,
Alexander Ivanov




reply via email to

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