Received: from eggs.gnu.org ([208.118.235.92]:47040) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ScFNw-0000Mw-Kc for qemu-devel@nongnu.org; Wed, 06 Jun 2012 08:30:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ScFNp-0007G9-S5 for qemu-devel@nongnu.org; Wed, 06 Jun 2012 08:30:48 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48177) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ScFNp-0007Fo-J4 for qemu-devel@nongnu.org; Wed, 06 Jun 2012 08:30:41 -0400 Date: Wed, 6 Jun 2012 15:30:27 +0300 From: Alon Levy Message-ID: <20120606123027.GK16572@garlic.tlv.redhat.com> References: <1338875386-21051-1-git-send-email-yhalperi@redhat.com> <4FCDF49E.6090006@codemonkey.ws> <4FCE067E.5030903@redhat.com> <4FCF1E70.3030703@redhat.com> <4FCF214D.8060001@codemonkey.ws> <4FCF46B0.1010905@redhat.com> <4FCF4848.9010005@codemonkey.ws> <20120606121516.GI16572@garlic.tlv.redhat.com> <4FCF4A59.2060100@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4FCF4A59.2060100@codemonkey.ws> Subject: Re: [Qemu-devel] [RFC PATCH 0/5] asynchronous migration state change handlers List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: aliguori@us.ibm.com, Yonit Halperin , Gerd Hoffmann , qemu-devel@nongnu.org On Wed, Jun 06, 2012 at 08:17:29PM +0800, Anthony Liguori wrote: > On 06/06/2012 08:15 PM, Alon Levy wrote: > >On Wed, Jun 06, 2012 at 08:08:40PM +0800, Anthony Liguori wrote: > >>On 06/06/2012 08:01 PM, Yonit Halperin wrote: > >>>On 06/06/2012 12:22 PM, Anthony Liguori wrote: > >>>> > >>>>So send a QMP event and call it a day. > >>>> > >>>Using a QMP event is making spice seamless migration dependent on libvirt > >>>version. > >> > >>That is not an acceptable justification. > > > >To let spice know that libvirt doesn't support the new event would > >require libvirt capabilities advertisement to qemu. Is that acceptable? > > I literally have danpb's event introspection patches from Luiz's PULL > request testing on my system right now to be pushed. this?: [PATCH 29/29] Add 'query-events' command to QMP to query async events This is about libvirt getting qemu's event list. I am talking about qemu getting libvirt to say "we support event SPICE_MIGRATE_DONE". i.e. Yet another capability negotiation, during the handshake QMP phase. > > So this is already a solved problem. > > Regards, > > Anthony Liguori >