|
From: | Anthony Liguori |
Subject: | Re: [Qemu-devel] [PATCH 10/16] qdev: make the non-legacy pci address property accept an integer |
Date: | Fri, 03 Feb 2012 08:14:41 -0600 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110922 Lightning/1.0b2 Thunderbird/3.1.15 |
On 02/02/2012 02:19 PM, Paolo Bonzini wrote:
On 02/02/2012 09:07 PM, Anthony Liguori wrote:Signed-off-by: Paolo Bonzini<address@hidden>Isn't this a compatibility breaker? Won't this break libvirt's usage of -device addr=0.2 ?Nope, the legacy property still keeps the dd.f format. This is only for QOM (and internal use by qdev).
Ah, I forgot we duplicate the properties here.Since there is now a programmatic mapping between legacy properties types and non-legacy property types, could we remove the legacy properties that now have well behaved types and add some code to device_add to maintain compatibility?
Regards, Anthony Liguori
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |