From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerd Hoffmann Subject: Re: [PATCH 3/3] apic: always update the in-kernel status after loading Date: Fri, 02 Nov 2012 16:17:06 +0100 Message-ID: <5093E3F2.20007@redhat.com> References: <1967551787.5579995.1351869188109.JavaMail.root@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: Paolo Bonzini Return-path: Received: from mx1.redhat.com ([209.132.183.28]:37836 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755554Ab2KBPRM (ORCPT ); Fri, 2 Nov 2012 11:17:12 -0400 In-Reply-To: <1967551787.5579995.1351869188109.JavaMail.root@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 11/02/12 16:13, Paolo Bonzini wrote: >> 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. Then we'll need some new way to do this, maybe a new post_load handler which is called once _all_ state is loaded. cheers, Gerd