From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:57712) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qy9E9-0002MV-HE for qemu-devel@nongnu.org; Mon, 29 Aug 2011 17:18:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qy9E7-0002EX-Tp for qemu-devel@nongnu.org; Mon, 29 Aug 2011 17:18:41 -0400 Received: from fmmailgate03.web.de ([217.72.192.234]:54514) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qy9E7-0002EL-GE for qemu-devel@nongnu.org; Mon, 29 Aug 2011 17:18:39 -0400 Message-ID: <4E5C0222.8040607@web.de> Date: Mon, 29 Aug 2011 23:18:26 +0200 From: Jan Kiszka 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: <4E5C00F0.9070103@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig46C601233852294F3E64DC84" Sender: jan.kiszka@web.de 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: Avi Kivity Cc: Lucas Meneghel Rodrigues , Anthony Liguori , Marcelo Tosatti , Gerd Hoffmann , qemu-devel This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig46C601233852294F3E64DC84 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable On 2011-08-29 23:13, Avi Kivity wrote: > On 08/30/2011 12:06 AM, Jan Kiszka wrote: >> > >> > Does this need to be save/restored for migration? >> >> Nope, but we need some other measure. I thought to remember the pic wa= s >> refreshing this after load, but I do not find any traces of this now. = We >> likely need a post_load handler in the i8259 that re-asserts the IRQ a= s >> required. >> >=20 > 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. Sounds like it's time to open cpu_synchronize_all_post_init for non-kvm folks. Jan --------------enig46C601233852294F3E64DC84 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk5cAiIACgkQitSsb3rl5xSQQgCfRQwLw0UgTV0DQUxpqKbuPgMX j8IAoJ5lvNJ5f0BULhI9UUlp1qssNXYK =nax7 -----END PGP SIGNATURE----- --------------enig46C601233852294F3E64DC84--