From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49482) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5Zni-0000Y4-77 for qemu-devel@nongnu.org; Fri, 11 Jul 2014 08:19:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X5Znc-00065F-H7 for qemu-devel@nongnu.org; Fri, 11 Jul 2014 08:19:42 -0400 Received: from oxygen.pond.sub.org ([144.76.244.19]:39656) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5Znc-00064Y-Bh for qemu-devel@nongnu.org; Fri, 11 Jul 2014 08:19:36 -0400 From: Markus Armbruster References: <53BC1B73.4070304@suse.de> <878uo3f0f8.fsf@blackfin.pond.sub.org> <53BD6CFD.5090006@suse.de> <87oaww9mj3.fsf@blackfin.pond.sub.org> Date: Fri, 11 Jul 2014 14:19:33 +0200 In-Reply-To: (Eduardo Otubo's message of "Fri, 11 Jul 2014 13:52:34 +0200") Message-ID: <87sim83x62.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] live migration + licensing issue. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eduardo Otubo Cc: Anshul Makkar , Andreas =?utf-8?Q?F?= =?utf-8?Q?=C3=A4rber?= , qemu-devel Eduardo Otubo writes: > On Fri, Jul 11, 2014 at 1:12 PM, Markus Armbruster wr= ote: >> [Top-quote moved to its rightful place; please do not top quote on >> technical lists] >> >> Anshul Makkar writes: >> >>> On Wed, Jul 9, 2014 at 6:25 PM, Andreas F=C3=A4rber = wrote: >>>> Am 09.07.2014 13:09, schrieb Anshul Makkar: >>>>> Thanks. I got the point. >>>> >>>> And for the record, the point is that the machine version on the >>>> destination side needs to match the source side. So, if the default or >>>> "pc" alias is used in 1.0, which resolves to pc-1.0, then it needs to = be >>>> pc-1.0, not pc-1.2. If an explicit machine name such as pc-0.15 was us= ed >>>> then that exact machine must be used on the destination as well. >> >>> Hi Andreas, >>> >>> "the point is that the machine version on the destination side needs >>> to match the source side". I hope this is just to avoid the licensing >>> issue. Else, in all other circumstance, we can specify different pc >>> models while migrating from source to destination. >> >> You certainly can specify whatever machine type you want, but if you >> specify different machine types on source and target of a migration, all >> bets are off. >> >> It could succeed if the stars align the right way. It could break >> obviously and immediately, leaving your machine running on the source. >> It could migrate your machine to the destination successfully, then blow >> up there right away, or some time later, taking down your machine. It >> could migrate successfully, but silently corrupt data. >> >> Regardless of how it breaks, you get to keep the pieces. > > What you're saying is that there's no way to migrate (live or offline) > from Qemu 1.0/1.2 to 2.0 in a *safe way* whatever OS I'm running on > it? No, what I'm saying is you need to use the same machine type on source on destination. If you don't specify one, you get the default. If you run different versions of QEMU on source and destination, their default machine type may differ. In that case, find the default machine type on the source (-M help shows it), then start QEMU on the destination with that machine type.