From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NCaIl-0002rI-Kp for qemu-devel@nongnu.org; Mon, 23 Nov 2009 09:54:03 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NCaIh-0002or-0M for qemu-devel@nongnu.org; Mon, 23 Nov 2009 09:54:03 -0500 Received: from [199.232.76.173] (port=33577 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NCaIg-0002on-S2 for qemu-devel@nongnu.org; Mon, 23 Nov 2009 09:53:58 -0500 Received: from mail-qy0-f194.google.com ([209.85.221.194]:38720) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NCaIg-0005p6-JA for qemu-devel@nongnu.org; Mon, 23 Nov 2009 09:53:58 -0500 Received: by qyk32 with SMTP id 32so2556296qyk.4 for ; Mon, 23 Nov 2009 06:53:58 -0800 (PST) Message-ID: <4B0AA202.2050001@codemonkey.ws> Date: Mon, 23 Nov 2009 08:53:54 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: Live migration protocol, device features, ABIs and other beasts References: <4B0952C9.9010803@redhat.com> <4B095D86.700@codemonkey.ws> <4B09F0CA.3060705@codemonkey.ws> <1258983457-sup-5031@blackpad.lan.raisama.net> In-Reply-To: <1258983457-sup-5031@blackpad.lan.raisama.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eduardo Habkost Cc: Paolo Bonzini , qemu-devel Eduardo Habkost wrote: >>>> Migration needs to be conservative. There should be only two possible >>>> outcomes: 1) a successful live migration or 2) graceful failure with the >>>> source VM still running correctly. Silently ignoring things that could >>>> affect the guests behavior means that it's possible that after failure, >>>> the guest will fail in an unexpected way. >>>> >>> It's up to the source to decide what information is extra. For >>> example, the state of a RNG emulation is nice-to-have, but as long as >>> it is initialized from another random source on the destination you >>> shouldn't care. >>> >> We only migrate things that are guest visible. Everything else is left >> to the user to configure. We wouldn't migrate the state of a RNG >> emulation provided that it doesn't have an impact on the guest. >> >> By definition, anything that is guest visible is important because it >> affects the guest's behavior. >> > > Right, but I wouldn't be surprised if a user complains that "I know that > my guest don't use that VM feature, so I want to be able to migrate to > an older version anyway". > This could be addressed with a "force" migration feature. That said, I don't believe that the overwhelming majority of users are in a position to determine whether they can safely migrate to an older version. Regards, Anthony Liguori