From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M9N9j-00058r-U2 for qemu-devel@nongnu.org; Wed, 27 May 2009 13:43:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M9N9f-00054F-FM for qemu-devel@nongnu.org; Wed, 27 May 2009 13:43:11 -0400 Received: from [199.232.76.173] (port=44848 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M9N9f-000548-0e for qemu-devel@nongnu.org; Wed, 27 May 2009 13:43:07 -0400 Received: from mx2.redhat.com ([66.187.237.31]:49468) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M9N9e-0005nM-LI for qemu-devel@nongnu.org; Wed, 27 May 2009 13:43:06 -0400 Subject: Re: [Qemu-devel] [PATCH] Change virtio-console to PCI_CLASS_SERIAL_OTHER From: Mark McLoughlin In-Reply-To: <4A1D4C57.6010109@us.ibm.com> References: <1243012478.29542.18.camel@blaa> <4A1D4C57.6010109@us.ibm.com> Content-Type: text/plain Date: Wed, 27 May 2009 18:42:33 +0100 Message-Id: <1243446153.4852.9.camel@blaa> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Reply-To: Mark McLoughlin List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Dor Laor , ajax@redhat.com, qemu-devel On Wed, 2009-05-27 at 09:21 -0500, Anthony Liguori wrote: > We need a mechanism to toggle this for both this and virtio-blk. The > reason a toggle is needed is so that 0.11 can create the same device > model as 0.10. Okay, so the scenario is: - 0.10 guest running on source machine - migrate to dest machine running 0.11 - the device model cannot change or the guest OS will get confused How about running qemu on the dest machine with -model-version=0.10 ? At least that way it's something the management system can easily figure out (i.e. source is running in qemu 0.10, rather than source qemu is using class=XXX). Nasty thing about it is that the distributions couldn't cherry-pick changes like this because they'd deviate from the device model contract for a given upstream version. Could we not put this stuff in savevm and change the device model post-init? Cheers, Mark.