From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:34930) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTrVI-0006bX-Do for qemu-devel@nongnu.org; Thu, 01 Nov 2012 05:56:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TTrVH-0004BT-Ft for qemu-devel@nongnu.org; Thu, 01 Nov 2012 05:56:00 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37024) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTrVH-0004BP-7k for qemu-devel@nongnu.org; Thu, 01 Nov 2012 05:55:59 -0400 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qA19twop005534 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 1 Nov 2012 05:55:58 -0400 Message-ID: <50924729.3090101@redhat.com> Date: Thu, 01 Nov 2012 10:55:53 +0100 From: Gerd Hoffmann MIME-Version: 1.0 References: <1641209605.25277085.1351763131761.JavaMail.root@redhat.com> In-Reply-To: <1641209605.25277085.1351763131761.JavaMail.root@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC] hw/qxl: inject interrupts in any state List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alon Levy Cc: qemu-devel@nongnu.org Hi, >> IMO spice-server must not call interface_client_set_capabilities >> when the vm is not running. After all we notify spice-server about >> the vm stop/start events for a reason ... > > OK, I agree that should be fixed, we can queue this until the vm > starts running in spice-server. But having an assert on notify in > qemu is also wrong - and the only way to fix it like you pointed out > without dropping the event is to queue it as well. > > So which will it be, queue in spice or in qemu? qemu seems a simpler > place to catch everything. When queuing in qemu you are facing the migration issue again in a different way: Just this time it isn't guest state, but a qxl register. Not guest visible, but still state which must be migrated over ... cheers, Gerd