From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38324) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X84XK-0004Gf-On for qemu-devel@nongnu.org; Fri, 18 Jul 2014 05:33:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X84XD-0004q8-9i for qemu-devel@nongnu.org; Fri, 18 Jul 2014 05:33:06 -0400 Received: from mx.beyond.pl ([92.43.117.49]:49815) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X84XD-0004ps-2J for qemu-devel@nongnu.org; Fri, 18 Jul 2014 05:32:59 -0400 Message-ID: <53C8E9BD.4070406@beyond.pl> Date: Fri, 18 Jul 2014 11:32:45 +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> In-Reply-To: <53C8DF68.5040705@redhat.com> 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" > The name of the hack^Wfunction is tricky, because compared to > do_kvm_cpu_synchronize_state there are three things you change: > > 1) you always synchronize the state > > 2) the next call to do_kvm_cpu_synchronize_state will do > kvm_arch_get_registers Yes. > 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 = false; > } But, I don't set cpu->kvm_vcpu_dirty anywhere (?). > I still lean very much towards reverting the patches now. We can > reapply them, fixed, in 2.1.1. That's probably good idea. -- mg