From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52465) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WT9kH-0002IS-HK for qemu-devel@nongnu.org; Thu, 27 Mar 2014 08:49:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WT9k8-0003fh-Ay for qemu-devel@nongnu.org; Thu, 27 Mar 2014 08:49:21 -0400 Received: from mail-pd0-f177.google.com ([209.85.192.177]:55982) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WT9k8-0003fN-4b for qemu-devel@nongnu.org; Thu, 27 Mar 2014 08:49:12 -0400 Received: by mail-pd0-f177.google.com with SMTP id y10so3281238pdj.8 for ; Thu, 27 Mar 2014 05:49:10 -0700 (PDT) Message-ID: <53341E41.7050101@ozlabs.ru> Date: Thu, 27 Mar 2014 23:49:05 +1100 From: Alexey Kardashevskiy MIME-Version: 1.0 References: <1395888071-28677-1-git-send-email-aik@ozlabs.ru> <53341B8F.7040904@suse.de> In-Reply-To: <53341B8F.7040904@suse.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH] target-ppc: Add @cpu_dt_id into migration stream List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= , qemu-devel@nongnu.org Cc: qemu-ppc@nongnu.org On 03/27/2014 11:37 PM, Andreas Färber wrote: > Am 27.03.2014 03:41, schrieb Alexey Kardashevskiy: >> This should prevent the destination guest from misbehaving when >> the threads number is different in "-smp" command. > > Sorry, I don't understand. When migrating, surely -smp needs to be the > same on source and destination, so how can they differ? The idea is that "-smp" does not migrate and if we run source and destination guests with different numbers in -smp, we end up with weird machine because interrupt server properties (gserver?) in the device tree are different and no reconfiguration happens (no such mechanism as I know) the whole XICS behaves different. The patch just prevents migration from succeeding which seems better. -- Alexey