From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:33808) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qeirm-0006gJ-Bo for qemu-devel@nongnu.org; Thu, 07 Jul 2011 03:19:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qeirk-00055t-CV for qemu-devel@nongnu.org; Thu, 07 Jul 2011 03:19:18 -0400 Received: from mx1.redhat.com ([209.132.183.28]:32760) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qeirj-00055n-Rj for qemu-devel@nongnu.org; Thu, 07 Jul 2011 03:19:16 -0400 Message-ID: <4E155DEA.5020703@redhat.com> Date: Thu, 07 Jul 2011 09:19:06 +0200 From: Gerd Hoffmann MIME-Version: 1.0 References: <4E148776.4000805@redhat.com> <4E1497C6.4060505@codemonkey.ws> In-Reply-To: <4E1497C6.4060505@codemonkey.ws> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] migration: new sections and backward compatibility. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: jes sorensen , Juan Quintela , "qemu-devel@nongnu.org" , Markus Armbruster On 07/06/11 19:13, Anthony Liguori wrote: > On 07/06/2011 11:04 AM, Gerd Hoffmann wrote: >> Hi folks, >> >> We'll need to figure a sane way to handle migration to older versions >> with new sections, i.e. devices which used to not save state before do >> now. >> >> We already have one case in tree: usb. qemu 0.14 saves state for usb-hid >> devices and the usb-hub, whereas qemu 0.13 and older don't. You can't >> migrate a vm with a usb-tablet from 0.14 to 0.13 because of that even if >> you use -M pc-0.13. > > Because if you did migrate, you would actively break the guest during > migration. So why is this a problem? Well, in case of usb hid devices breaking the guest isn't that a big issue for at least some guests because they manage to reset the device and continue nevertheless ... I think this is a case-by-case thing. In some cases we want break migration because critical state is missing. In other cases we might want allow it nevertheless. cheers, Gerd