Received: from eggs.gnu.org ([2001:4830:134:3::10]:37506) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKlfZ-00046P-3N for qemu-devel@nongnu.org; Thu, 30 Jul 2015 07:06:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZKlfV-0003qB-01 for qemu-devel@nongnu.org; Thu, 30 Jul 2015 07:06:37 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45535) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKlfU-0003pu-Ro for qemu-devel@nongnu.org; Thu, 30 Jul 2015 07:06:32 -0400 From: Juan Quintela In-Reply-To: <20150729175416.GN1379@perard.uk.xensource.com> (Anthony PERARD's message of "Wed, 29 Jul 2015 18:54:16 +0100") References: <1438098885-4339-1-git-send-email-anthony.perard@citrix.com> <20150729175416.GN1379@perard.uk.xensource.com> Date: Thu, 30 Jul 2015 13:06:29 +0200 Message-ID: <87d1z9q4zu.fsf@neno.neno> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH for-2.4 0/3] Migration regressions with Xen. Reply-To: quintela@redhat.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony PERARD Cc: Amit Shah , Stefano Stabellini , QEMU-devel , Xen Devel Anthony PERARD wrote: > This is a critical issue for Xen as migration either with the same version > of QEMU, or from a previous version of QEMU is broken. > > Any suggestion on how to move forward? Will send a pull requset tomorrow. Thinking about creating a single function that is called for all needed places, just to avoid this problem in the future. Thanks, Juan. > > On Tue, Jul 28, 2015 at 04:54:42PM +0100, Anthony PERARD wrote: >> Hi, >> >> We've spotted several regression which prevent migration with Xen using the >> same version of QEMU or from a previous version of QEMU (tryied with 2.2). >> >> Regression have been introduce by at least: >> - df4b1024526cae3479da3492d6371fd4a7324a03 >> migration: create new section to store global state >> - 61964c23e5ddd5a33f15699e45ce126f879e3e33 >> migration: Add configuration section >> >> The first patch would fix the default case when we use the machine 'xenfv'. >> >> But we can also use the machine 'pc' and I don't know how to fix this case. >> The second and third patches are a step in the direction of fixing >> migration with the machine 'pc'. >> >> I have not look at save/restore for PV guest yet. >> >> Thanks, >> >> Anthony PERARD (3): >> migration: Fix regretion for xenfv machine. >> migration: Fix global state with Xen. >> migration: Add configuration section to vmstate with xen. >> >> hw/i386/pc_piix.c | 3 +++ >> include/migration/migration.h | 1 + >> migration/migration.c | 7 +++++++ >> migration/savevm.c | 6 ++++++ >> 4 files changed, 17 insertions(+)