From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58190) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCoWp-0007he-NB for qemu-devel@nongnu.org; Thu, 31 Jul 2014 07:28:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XCoWi-00015B-7x for qemu-devel@nongnu.org; Thu, 31 Jul 2014 07:28:11 -0400 Received: from mx.beyond.pl ([92.43.117.49]:50893) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCoWi-000153-0h for qemu-devel@nongnu.org; Thu, 31 Jul 2014 07:28:04 -0400 Message-ID: <53DA283F.4030709@beyond.pl> Date: Thu, 31 Jul 2014 13:27:59 +0200 From: =?UTF-8?B?TWFyY2luIEdpYnXFgmE=?= MIME-Version: 1.0 References: <20140715210948.GA20036@amt.cnet> <53C5A4C9.80609@redhat.com> <20140716011634.GA30717@amt.cnet> <20140716115229.GA7741@amt.cnet> <53C6EE7C.60702@beyond.pl> <53C79C41.4000800@beyond.pl> <53C7B989.9000203@beyond.pl> <53C7CEE5.4080006@beyond.pl> <53C8DF68.5040705@redhat.com> <53D7D2B5.8060500@redhat.com> <53D8DEE1.8080905@beyond.pl> <53D8F546.4010803@redhat.com> <53D96DBE.2040700@beyond.pl> In-Reply-To: <53D96DBE.2040700@beyond.pl> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] latest rc: virtio-blk hangs forever after migration List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , Andrey Korolyov Cc: Amit Shah , Marcelo Tosatti , Fam Zheng , "qemu-devel@nongnu.org" >> Can you dump *env before and after the call to kvm_arch_get_registers? > > Yes, but it seems they are equal - I used memcmp() to compare them. Is > there any other side effect that cpu_synchronize_all_states() may have? I think I found it. The reason for hang is, because when second call to kvm_arch_get_registers() is skipped, it also skips kvm_get_apic() which updates cpu->apic_state. -- mg