From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56953) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCc6s-0005tM-L5 for qemu-devel@nongnu.org; Wed, 30 Jul 2014 18:12:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XCc6l-0007TZ-5c for qemu-devel@nongnu.org; Wed, 30 Jul 2014 18:12:34 -0400 Received: from mx.beyond.pl ([92.43.117.49]:38662) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCc6k-0007Sa-Uj for qemu-devel@nongnu.org; Wed, 30 Jul 2014 18:12:27 -0400 Message-ID: <53D96DBE.2040700@beyond.pl> Date: Thu, 31 Jul 2014 00:12:14 +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> In-Reply-To: <53D8F546.4010803@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable 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" W dniu 2014-07-30 15:38, Paolo Bonzini pisze: > Il 30/07/2014 14:02, Marcin Gibu=C5=82a ha scritto: >> without it: s/without/with/ of course... >> called do_kvm_cpu_synchronize_state_always >> called do_kvm_cpu_synchronize_state_always >> called do_kvm_cpu_synchronize_state: vcpu not dirty, getting registers >> called do_kvm_cpu_synchronize_state: vcpu not dirty, getting registers >> shutting down >> >> So it's probably about 2 from your list ("the next call to >> do_kvm_cpu_synchronize_state will do kvm_arch_get_registers"). > > 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=20 there any other side effect that cpu_synchronize_all_states() may have? The second caller of this function is qemu_savevm_state_complete(). --=20 mg