From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39340) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X84cJ-0007Ga-O8 for qemu-devel@nongnu.org; Fri, 18 Jul 2014 05:38:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X84cC-0006Wi-9j for qemu-devel@nongnu.org; Fri, 18 Jul 2014 05:38:15 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43194) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X84cB-0006WR-Oz for qemu-devel@nongnu.org; Fri, 18 Jul 2014 05:38:08 -0400 Message-ID: <53C8EAF7.7050909@redhat.com> Date: Fri, 18 Jul 2014 11:37:59 +0200 From: Paolo Bonzini 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> <53C8E9BD.4070406@beyond.pl> In-Reply-To: <53C8E9BD.4070406@beyond.pl> 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: =?UTF-8?B?TWFyY2luIEdpYnXFgmE=?= , Andrey Korolyov Cc: Amit Shah , Marcelo Tosatti , Fam Zheng , "qemu-devel@nongnu.org" Il 18/07/2014 11:32, Marcin Gibu=C5=82a ha scritto: > >> 3) the next CPU entry will call kvm_arch_put_registers: >> >> if (cpu->kvm_vcpu_dirty) { >> kvm_arch_put_registers(cpu, KVM_PUT_RUNTIME_STATE); >> cpu->kvm_vcpu_dirty =3D false; >> } > > But, I don't set cpu->kvm_vcpu_dirty anywhere (?). Yeah, the next CPU entry will *not* call kvm_arch_put_registers with=20 your change. It will call it with vanilla cpu_synchronize_all_states(). Paolo