From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kiszka Subject: Re: Live migration of x86-64 kvm guests broken? Date: Wed, 02 Dec 2009 19:05:28 +0100 Message-ID: <4B16AC68.2090304@siemens.com> References: <4B1686AB.4020206@siemens.com> <20091202164408.GQ27346@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: qemu-devel , kvm , Juan Quintela , Pierre Riteau , Liran Schour To: Ryan Harper Return-path: Received: from david.siemens.de ([192.35.17.14]:19875 "EHLO david.siemens.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754954AbZLBSFy (ORCPT ); Wed, 2 Dec 2009 13:05:54 -0500 In-Reply-To: <20091202164408.GQ27346@us.ibm.com> Sender: kvm-owner@vger.kernel.org List-ID: Ryan Harper wrote: > * Jan Kiszka [2009-12-02 09:28]: >> Hi, >> >> I'm facing stalled x86-64 guests after live migration when using kvm >> (share disk images). This does not happen with x86-32 guests or when >> disabling kvm. Both qemu and qemu-kvm git heads are affected (recent >> vmstate fixes applied). Running I/O load during the migration (e.g. a >> simple "ls -R /") seems to trigger it reliably. >> >> Can anyone confirm / comment on this? Do we fail to restore some magic >> state that only long mode cares about? > > Just tested upstream qemu.git (with vmstate fixes) and I could migrate > RHEL 5.3 64-bit guest with your light io load over localhost. I'll try > remote hosts next. Hell, too many variables. It looks like the kernel modules have some if not the ultimate impact: kvm-mod-2.6.31.6b on my 2.6.27 host works fine, kvm-kmod stable-2.6.32 as well as master cause troubles. What is your host kernel and/or kvm module version? Jan -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NFta7-00028N-Hi for qemu-devel@nongnu.org; Wed, 02 Dec 2009 13:05:39 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NFta2-00021L-Qf for qemu-devel@nongnu.org; Wed, 02 Dec 2009 13:05:38 -0500 Received: from [199.232.76.173] (port=47693 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NFta2-000213-H8 for qemu-devel@nongnu.org; Wed, 02 Dec 2009 13:05:34 -0500 Received: from david.siemens.de ([192.35.17.14]:19839) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NFta1-0002of-RR for qemu-devel@nongnu.org; Wed, 02 Dec 2009 13:05:34 -0500 Message-ID: <4B16AC68.2090304@siemens.com> Date: Wed, 02 Dec 2009 19:05:28 +0100 From: Jan Kiszka MIME-Version: 1.0 References: <4B1686AB.4020206@siemens.com> <20091202164408.GQ27346@us.ibm.com> In-Reply-To: <20091202164408.GQ27346@us.ibm.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: Live migration of x86-64 kvm guests broken? List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Ryan Harper Cc: Liran Schour , Pierre Riteau , qemu-devel , kvm , Juan Quintela Ryan Harper wrote: > * Jan Kiszka [2009-12-02 09:28]: >> Hi, >> >> I'm facing stalled x86-64 guests after live migration when using kvm >> (share disk images). This does not happen with x86-32 guests or when >> disabling kvm. Both qemu and qemu-kvm git heads are affected (recent >> vmstate fixes applied). Running I/O load during the migration (e.g. a >> simple "ls -R /") seems to trigger it reliably. >> >> Can anyone confirm / comment on this? Do we fail to restore some magic >> state that only long mode cares about? > > Just tested upstream qemu.git (with vmstate fixes) and I could migrate > RHEL 5.3 64-bit guest with your light io load over localhost. I'll try > remote hosts next. Hell, too many variables. It looks like the kernel modules have some if not the ultimate impact: kvm-mod-2.6.31.6b on my 2.6.27 host works fine, kvm-kmod stable-2.6.32 as well as master cause troubles. What is your host kernel and/or kvm module version? Jan -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux