From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:33874) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qyg9d-00079W-9P for qemu-devel@nongnu.org; Wed, 31 Aug 2011 04:28:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qyg9c-0007b1-K9 for qemu-devel@nongnu.org; Wed, 31 Aug 2011 04:28:13 -0400 Received: from mx1.redhat.com ([209.132.183.28]:32397) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qyg9c-0007aJ-Bo for qemu-devel@nongnu.org; Wed, 31 Aug 2011 04:28:12 -0400 Message-ID: <4E5DF096.6070207@redhat.com> Date: Wed, 31 Aug 2011 11:28:06 +0300 From: Avi Kivity MIME-Version: 1.0 References: <4E58FC3F.6080809@web.de> <4E5BE7C5.60705@us.ibm.com> <4E5BFF51.9010503@web.de> <4E5C00F0.9070103@redhat.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] pc: Clean up PIC-to-APIC IRQ path List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: Lucas Meneghel Rodrigues , Anthony Liguori , Marcelo Tosatti , qemu-devel , Jan Kiszka , Gerd Hoffmann On 08/30/2011 10:19 PM, Blue Swirl wrote: > > > > We need some kind of two phase restore. In the first phase all state is > > restored; since some of that state drivers outputs that are input to other > > devices, they may experience an edge, and we need to supress that. In the > > second phase edge detection is unsupressed and the device goes live. > > No. Devices may not perform any externally visible activities (like > toggle a qemu_irq) during or after load because 1) qemu_irq is > stateless and 2) since the receiving end is also freshly loaded, both > states are already in synch without any calls or toggling. That makes it impossible to migrate level-triggered irq lines. Or at least, the receiver has to remember the state, instead of (or in addition to) the sender. -- error compiling committee.c: too many arguments to function