|
From: | Gerd Hoffmann |
Subject: | Re: [Qemu-devel] [PATCH 0/3] non-migratable devices |
Date: | Fri, 08 Jul 2011 15:21:01 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110617 Red Hat/3.1.11-2.el6_1 Thunderbird/3.1.11 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |