From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=54916 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pth0J-0002As-Rm for qemu-devel@nongnu.org; Sun, 27 Feb 2011 08:49:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pth0E-0007eX-Rm for qemu-devel@nongnu.org; Sun, 27 Feb 2011 08:49:43 -0500 Received: from mail-yx0-f173.google.com ([209.85.213.173]:63678) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pth0E-0007eF-PU for qemu-devel@nongnu.org; Sun, 27 Feb 2011 08:49:38 -0500 Received: by yxk8 with SMTP id 8so1537013yxk.4 for ; Sun, 27 Feb 2011 05:49:37 -0800 (PST) Message-ID: <4D6A566F.1060807@codemonkey.ws> Date: Sun, 27 Feb 2011 07:49:35 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: [patch 2/3] Add support for live block copy References: <20110222170004.808373778@redhat.com> <20110222170115.710717278@redhat.com> <4D642181.4080509@codemonkey.ws> <20110222210735.GA9372@amt.cnet> <4D64266A.3060106@codemonkey.ws> <20110222230935.GA11082@amt.cnet> <4D644343.4050800@codemonkey.ws> <4D65051A.6070707@redhat.com> <4D651B20.70405@codemonkey.ws> <4D652852.60505@redhat.com> <4D652F73.3000305@codemonkey.ws> <4D65324A.5080408@redhat.com> <4D65359E.3040008@codemonkey.ws> <4D65416D.8040803@redhat.com> <4D656B97.5030301@codemonkey.ws> <4D661CB8.6010305@redhat.com> <4D667287.9010005@codemonkey.ws> <4D6677BE.2030009@redhat.com> <4D669C46.40909@codemonkey.ws> <4D6A150B.8030205@redhat.com> <4D6A1FA4.9040809@redhat.com> In-Reply-To: <4D6A1FA4.9040809@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dlaor@redhat.com Cc: Jes.Sorensen@redhat.com, Marcelo Tosatti , Avi Kivity , qemu-devel@nongnu.org On 02/27/2011 03:55 AM, Dor Laor wrote: > What about a simpler approach were QMP events will be written to a > event-log-file (or even named pipe). The management tool can just use a small daemon that does nothing other than write QMP events to a log. There's no real need for this code to live in QEMU. Since events are posted, even if we wrote it in QEMU, the event wouldn't be guaranteed on disk by the time the event invocation returns. Regards, Anthony Liguori