From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53267) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZLiC-0006W9-Gq for qemu-devel@nongnu.org; Thu, 24 Oct 2013 10:16:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VZLi6-0005Po-Vg for qemu-devel@nongnu.org; Thu, 24 Oct 2013 10:16:32 -0400 Received: from mail-we0-x22e.google.com ([2a00:1450:400c:c03::22e]:34613) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZLi6-0005Pb-PK for qemu-devel@nongnu.org; Thu, 24 Oct 2013 10:16:26 -0400 Received: by mail-we0-f174.google.com with SMTP id u56so2414100wes.33 for ; Thu, 24 Oct 2013 07:16:26 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <52692BB6.7050302@redhat.com> Date: Thu, 24 Oct 2013 15:16:22 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1382412341-1173-1-git-send-email-lilei@linux.vnet.ibm.com> <1382412341-1173-15-git-send-email-lilei@linux.vnet.ibm.com> <5265F63E.6040605@redhat.com> In-Reply-To: <5265F63E.6040605@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 14/17] add new RanState RAN_STATE_FLIPPING_MIGRATE List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: aarcange@redhat.com, aliguori@us.ibm.com, Lei Li , quintela@redhat.com, "libvir-list@redhat.com" , mdroth@linux.vnet.ibm.com, mrhines@linux.vnet.ibm.com, qemu-devel@nongnu.org, lagarcia@br.ibm.com, rcj@linux.vnet.ibm.com -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Il 22/10/2013 04:51, Eric Blake ha scritto: > > Last time we added a new user-visible runstate, it broke migration > with older libvirt versions that weren't prepared to see the new > state (hmm, I need to check if libvirt has fixed that in the > meantime; adding a cc...). Paolo's advice at the time was that it > is okay to require a new libvirt when using a new qemu, and that > libvirt should be taught to treat all unknown RunState as if they > were 'running'; although for this particular addition it might be > nicer to have libvirt lump 'inmigrate' and 'flipping-migrate' to > the same usage. This is not a problem in this case, because the new runstate will only appear after enabling a new migration capability. Only new libvirt will be able to enable the capability and thus reach the new runstate. Poalo -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJSaSu2AAoJEBvWZb6bTYbycoUP/RDsMA/62ukPU1stvKhoOPLK +Zi9OOSd8tIAAkHD0rDS5pQePklZ2AqKmOpJujRHhavGA/kKcMhL+79dK22UJSWn fQPgxiivylZcFWbhF97H9eW27Vmw5la1Ob2onq2g+KY/AvL5yrEpBrN60XipHtrd uPM2yWlERSlKcQj0nrTv5Oz3p2k9jWQrGzWX16cC+nFAaR9K/D+afOyl/3ZvixKw ekiIIxStoJQGCogU/rJp1nJcenJfKSOofNKPU8xKkpexK4pw+W1u9GZMaAgzXLRO Q6p3R6raIRT42Hf820ASHsWeHYak2gYmZ+5FaKGPyjAL/iwKyr4FRp7uGXobN9sD ziMX5gaXreVdBh8CIOqDrOGa7BNoEkId2sJrrjwmmD418uZNOGK/xdcPa+mFlc8Q GkJ4y844OckkyLhqQnuVtCVtxGlNCU3Y/XHfTKELdTm1m1jdTdoNnBGFXD1IyTxU 9yPYfQRAeRy7yPEXqQw0qc7ZUj/fhqPPzijwpPrvmFvzAouUZjlpE6QoriiBGzRx Csq+uwpJ2bsWOC5BGvxhrhNE4F9yhWGkotxod6gvULkOLkm/4Cg5/8aNSeYzInsm UtJ5+oZD6jzOVW5brkFosoUvWzr6vJEvwoh7DVz5sVkAH/u93WR8jlG+NsTw5fTY +hthfn5l153w5JDikLyV =q1Ww -----END PGP SIGNATURE-----