Re: [Qemu-devel] [RFC, PATCH 10/11] qdev: Add do_info_qbus and friends.

2010-01-18 Thread Gerd Hoffmann
On 01/18/10 13:34, Markus Armbruster wrote: However, because there are both device properties and bus properties (really: device properties common to all devices on this bus), their names can clash. Device properties take precedence (see qdev_prop_find()). Hmm, qdev_printf() prints even overrid

Re: [Qemu-devel] [RFC, PATCH 10/11] qdev: Add do_info_qbus and friends.

2010-01-18 Thread Markus Armbruster
Gerd Hoffmann writes: >> However, because there are both device properties and bus properties >> (really: device properties common to all devices on this bus), their >> names can clash. Device properties take precedence (see >> qdev_prop_find()). Hmm, qdev_printf() prints even overridden bus >>

Re: [Qemu-devel] [RFC, PATCH 10/11] qdev: Add do_info_qbus and friends.

2010-01-18 Thread Gerd Hoffmann
However, because there are both device properties and bus properties (really: device properties common to all devices on this bus), their names can clash. Device properties take precedence (see qdev_prop_find()). Hmm, qdev_printf() prints even overridden bus properties, not sure that's appropria

Re: [Qemu-devel] [RFC, PATCH 10/11] qdev: Add do_info_qbus and friends.

2010-01-15 Thread Markus Armbruster
Nathan Baum writes: > Places information about a bus and the devices on into a QObject. > > Signed-off-by: Nathan Baum > --- > hw/qdev.c | 73 > + > 1 files changed, 73 insertions(+), 0 deletions(-) > > diff --git a/hw/qdev.c b/hw/q

[Qemu-devel] [RFC,PATCH 10/11] qdev: Add do_info_qbus and friends.

2009-12-26 Thread Nathan Baum
Places information about a bus and the devices on into a QObject. Signed-off-by: Nathan Baum --- hw/qdev.c | 73 + 1 files changed, 73 insertions(+), 0 deletions(-) diff --git a/hw/qdev.c b/hw/qdev.c index b6bd4ae..f5d68c6 100644 ---