From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:55301) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QfAzS-0007VZ-Q7 for qemu-devel@nongnu.org; Fri, 08 Jul 2011 09:21:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QfAzR-000478-Ce for qemu-devel@nongnu.org; Fri, 08 Jul 2011 09:21:06 -0400 Received: from mx1.redhat.com ([209.132.183.28]:27154) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QfAzQ-000471-Oq for qemu-devel@nongnu.org; Fri, 08 Jul 2011 09:21:04 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p68DL39T008344 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 8 Jul 2011 09:21:03 -0400 Message-ID: <4E17043D.4050808@redhat.com> Date: Fri, 08 Jul 2011 15:21:01 +0200 From: Gerd Hoffmann MIME-Version: 1.0 References: <1310115239-19288-1-git-send-email-kraxel@redhat.com> <4E16D3D8.60908@redhat.com> <4E16D4EF.5020903@redhat.com> <4E16D949.2060305@redhat.com> <4E16EE6A.6000506@redhat.com> <4E16F26D.40404@redhat.com> <4E16FC73.1010600@redhat.com> <4E16FF18.8070204@redhat.com> In-Reply-To: <4E16FF18.8070204@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 0/3] non-migratable devices List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-devel@nongnu.org On 07/08/11 14:59, Paolo Bonzini wrote: > On 07/08/2011 02:47 PM, Gerd Hoffmann wrote: >>> >>> One possibility is to add device name remapping to machine types, like >>> "ide is actually ide-0.14 when using pc-0.14" and put a different >>> VMState in ide-0.14. >> >> That isn't very different from subsections. >> >> Problem is that the old qemu version doesn't have the section at all, >> not that it looks somehow different. > > No, I meant a different qdev name, i.e. mapping the same device name to > a different DeviceInfo. That is an idea. This could also replace compat properties (by giving ide-0.14 different default values for the properties) and thereby move the compat info from hw/pc.c to hw/ide/xxx.c. cheers, Gerd