From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [PATCH 3/3] apic: always update the in-kernel status after loading Date: Fri, 2 Nov 2012 11:13:08 -0400 (EDT) Message-ID: <1967551787.5579995.1351869188109.JavaMail.root@redhat.com> References: <5093E1B0.6050504@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: Avi Kivity , qemu-devel@nongnu.org, mtosatti@redhat.com, kvm@vger.kernel.org, Jan Kiszka To: Gerd Hoffmann Return-path: Received: from mx3-phx2.redhat.com ([209.132.183.24]:42075 "EHLO mx3-phx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755554Ab2KBPNN (ORCPT ); Fri, 2 Nov 2012 11:13:13 -0400 In-Reply-To: <5093E1B0.6050504@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: > Hi, > > > I think deferring IRQ events to the point when the complete vmstate > > is > > loaded is the cleaner and more robust approach. > > Agree. Just schedule a bh in post_load. > See also a229c0535bd336efaec786dd6e352a54e0a8187d No, it cannot a bh. Right now incoming migration is blocking, but this will change in 1.3. There is no guarantee that a bottom half will run after migration has completed. Paolo