Received: from eggs.gnu.org ([2001:4830:134:3::10]:45221) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCo9s-0007B8-IB for qemu-devel@nongnu.org; Wed, 08 Jul 2015 08:09:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZCo9n-0007Kz-GA for qemu-devel@nongnu.org; Wed, 08 Jul 2015 08:08:59 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59496) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCo9n-0007Kl-BT for qemu-devel@nongnu.org; Wed, 08 Jul 2015 08:08:55 -0400 From: Juan Quintela In-Reply-To: <559CF767.3060000@de.ibm.com> (Christian Borntraeger's message of "Wed, 08 Jul 2015 12:11:51 +0200") References: <1436274549-28826-1-git-send-email-quintela@redhat.com> <1436274549-28826-16-git-send-email-quintela@redhat.com> <559CF767.3060000@de.ibm.com> Date: Wed, 08 Jul 2015 14:08:53 +0200 Message-ID: <87a8v6onqi.fsf@neno.neno> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PULL 15/28] migration: create new section to store global state Reply-To: quintela@redhat.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Christian Borntraeger Cc: amit.shah@redhat.com, Cornelia Huck , qemu-devel@nongnu.org, "Dr. David Alan Gilbert" Christian Borntraeger wrote: > Am 07.07.2015 um 15:08 schrieb Juan Quintela: >> This includes a new section that for now just stores the current qemu state. >> >> Right now, there are only one way to control what is the state of the >> target after migration. >> >> - If you run the target qemu with -S, it would start stopped. >> - If you run the target qemu without -S, it would run just after >> migration finishes. >> >> The problem here is what happens if we start the target without -S and >> there happens one error during migration that puts current state as >> -EIO. Migration would ends (notice that the error happend doing block >> IO, network IO, i.e. nothing related with migration), and when >> migration finish, we would just "continue" running on destination, >> probably hanging the guest/corruption data, whatever. >> >> Signed-off-by: Juan Quintela >> Reviewed-by: Dr. David Alan Gilbert > > This is bisected to cause a regression on s390. > > A guest restarts (booting) after managedsave/start instead of continuing. > > Do you have any idea what might be wrong? Can you check the new patch series that I sent. There is a fix that *could* help there. *could* because I don't fully understand why it can give you problems (and even only sometimes). Current guess is that some of the devices are testing the guest state on LOAD, so that patch. Please, test. Later, Juan.