qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Denis V. Lunev" <den@openvz.org>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>,
	qemu-devel@nongnu.org, Dimitris Aragiorgis <dimara@arrikto.com>
Subject: Re: [Qemu-devel] [PATCH 1/1] log: fix hanged connect from virt-manager to libvirt
Date: Thu, 3 Mar 2016 16:53:10 +0300	[thread overview]
Message-ID: <56D841C6.1060303@openvz.org> (raw)
In-Reply-To: <56D840D4.4010109@redhat.com>

On 03/03/2016 04:49 PM, Paolo Bonzini wrote:
>
> On 03/03/2016 14:48, Denis V. Lunev wrote:
>> libvirt in this case spawns
>>    /usr/bin/qemu-system-x86_64 -S -no-user-config -nodefaults -nographic
>>      -M none
>>      -qmp unix:/var/lib/libvirt/qemu/capabilities.monitor.sock,server,nowait
>>      -pidfile /var/lib/libvirt/qemu/capabilities.pidfile -daemonize
>> and with CONFIG_TRACE_LOG this process hangs as stderr becomes redirected
>> to terminal (qemu_logfile == stderr). We do not have redirection to
>> /dev/null in this case which is necessary.
>>
>> Broken by:
>>      commit 96c33a4523ee1abe382ce4ff3e82b90ba78aa186
>>      Author: Dimitris Aragiorgis <dimara@arrikto.com>
>>      Date:   Thu Feb 18 13:38:38 2016 +0200
>>
>>      log: Redirect stderr to logfile if deamonized
>>
>> We should also take into account log filename change in runtime through
>> QMP/HMP, when the log could be even closed. In this case stderr should
>> be tweaked accordingly.
>>
>> Signed-off-by: Denis V. Lunev <den@openvz.org>
>> CC: Dimitris Aragiorgis <dimara@arrikto.com>
>> CC: Paolo Bonzini <pbonzini@redhat.com>
>> CC: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
> A patch has been posted already, and I'll send a pull request tomorrow.
>
> Paolo
I have not seen it. Can you post a link?

By the way, there are other cases fixed here, thus may be some
follow up is necessary that is why I am asking.

Den

  reply	other threads:[~2016-03-03 14:01 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-03 13:48 [Qemu-devel] [PATCH 1/1] log: fix hanged connect from virt-manager to libvirt Denis V. Lunev
2016-03-03 13:49 ` Paolo Bonzini
2016-03-03 13:53   ` Denis V. Lunev [this message]
2016-03-03 14:04     ` Paolo Bonzini
2016-03-03 14:08       ` Denis V. Lunev
2016-03-03 14:15         ` Paolo Bonzini
2016-03-03 14:25           ` Denis V. Lunev
2016-03-03 14:34             ` Paolo Bonzini
2016-03-03 14:47               ` Denis V. Lunev
2016-03-03 14:53                 ` Paolo Bonzini
2016-03-03 14:55                   ` Denis V. Lunev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56D841C6.1060303@openvz.org \
    --to=den@openvz.org \
    --cc=dimara@arrikto.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=vsementsov@virtuozzo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).