From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M0AGX-0000zt-Dv for qemu-devel@nongnu.org; Sat, 02 May 2009 04:08:09 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M0AGS-0000ze-Lc for qemu-devel@nongnu.org; Sat, 02 May 2009 04:08:08 -0400 Received: from [199.232.76.173] (port=59149 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M0AGS-0000zb-Ht for qemu-devel@nongnu.org; Sat, 02 May 2009 04:08:04 -0400 Received: from mx2.redhat.com ([66.187.237.31]:33758) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M0AGS-0004bO-2U for qemu-devel@nongnu.org; Sat, 02 May 2009 04:08:04 -0400 Message-ID: <49FBFF40.3070701@redhat.com> Date: Sat, 02 May 2009 11:07:28 +0300 From: Avi Kivity MIME-Version: 1.0 References: <20090501211717.24514.23246.stgit@mchn012c.ww002.siemens.net> <49FB7A40.1020005@us.ibm.com> <49FB7E16.8000309@web.de> In-Reply-To: <49FB7E16.8000309@web.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH 0/8] kvm: Fixes, cleanups and live migration List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: Anthony Liguori , qemu-devel@nongnu.org Jan Kiszka wrote: > As far as I understood it, interrupt_bitmap will become relevant for > in-kernel irqchips. > It's relevant for both. tcg is able to ack an interrupt and inject it atomically, but kvm is not (since injection is part of guest entry, which does not have bounded execution time). Hence the need to split the ack and injection into two steps, and save intermediate state. -- Do not meddle in the internals of kernels, for they are subtle and quick to panic.