|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [PATCH 04/14] qdev: don't allow globals to be set by bus name |
Date: | Tue, 01 May 2012 22:37:08 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120425 Thunderbird/12.0 |
Il 01/05/2012 20:18, Anthony Liguori ha scritto: > This is technically a compatibility breaker. However: > > 1) libvirt does not rely on this (it always uses the driver name) > > 2) This behavior isn't actually documented anywhere (the docs just say > driver). > > 3) I suspect there are less than three people on earth that even know this is > possible (minus the people reading this message). > > So I think we can safely break it :-) Does this work with compat properties set on a bus? Even if it does, perhaps it's better to avoid the cleverness and wait for my series that moves bus properties to the appropriate abstract superclass. Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |