Re: [Qemu-devel] [PATCH 09/14] qdev: connect some links and move type to object (v2)

2012-05-01 Thread Andreas Färber
Am 01.05.2012 20:18, schrieb Anthony Liguori: This makes sysbus part of the root hierarchy and all busses children of their respective parent DeviceState. Signed-off-by: Anthony Liguori aligu...@us.ibm.com This conflicts with Paolo's patch set but since this one is less intrusive (hardcoding

Re: [Qemu-devel] [PATCH 09/14] qdev: connect some links and move type to object

2012-04-19 Thread Igor Mammedov
On 04/19/2012 12:38 AM, Anthony Liguori wrote: On 04/18/2012 04:25 PM, Andreas Färber wrote: Am 18.04.2012 22:56, schrieb Anthony Liguori: This makes sysbus part of the root hierarchy and all busses children of their respective parent DeviceState. Signed-off-by: Anthony

Re: [Qemu-devel] [PATCH 09/14] qdev: connect some links and move type to object

2012-04-19 Thread Andreas Färber
Am 19.04.2012 00:38, schrieb Anthony Liguori: On 04/18/2012 04:25 PM, Andreas Färber wrote: Am 18.04.2012 22:56, schrieb Anthony Liguori: This makes sysbus part of the root hierarchy and all busses children of their respective parent DeviceState. Signed-off-by: Anthony

Re: [Qemu-devel] [PATCH 09/14] qdev: connect some links and move type to object

2012-04-19 Thread Anthony Liguori
On 04/19/2012 09:46 AM, Andreas Färber wrote: Am 19.04.2012 00:38, schrieb Anthony Liguori: On 04/18/2012 04:25 PM, Andreas Färber wrote: Am 18.04.2012 22:56, schrieb Anthony Liguori: This makes sysbus part of the root hierarchy and all busses children of their respective parent DeviceState.

Re: [Qemu-devel] [PATCH 09/14] qdev: connect some links and move type to object

2012-04-19 Thread Peter Maydell
On 19 April 2012 15:53, Anthony Liguori anth...@codemonkey.ws wrote: Yes, but I view /machine/unattached as a TODO list.  I'd like to completely eliminate that hierarchy for PC in 1.2. But if we stick sysbus in there, it needs to exist forever because there's no right place for sysbus to

Re: [Qemu-devel] [PATCH 09/14] qdev: connect some links and move type to object

2012-04-19 Thread Andreas Färber
Am 19.04.2012 16:53, schrieb Anthony Liguori: On 04/19/2012 09:46 AM, Andreas Färber wrote: Am 19.04.2012 00:38, schrieb Anthony Liguori: On 04/18/2012 04:25 PM, Andreas Färber wrote: Am 18.04.2012 22:56, schrieb Anthony Liguori: This makes sysbus part of the root hierarchy and all busses

Re: [Qemu-devel] [PATCH 09/14] qdev: connect some links and move type to object

2012-04-19 Thread Anthony Liguori
On 04/19/2012 10:06 AM, Andreas Färber wrote: Am 19.04.2012 16:53, schrieb Anthony Liguori: On 04/19/2012 09:46 AM, Andreas Färber wrote: Am 19.04.2012 00:38, schrieb Anthony Liguori: On 04/18/2012 04:25 PM, Andreas Färber wrote: Am 18.04.2012 22:56, schrieb Anthony Liguori: This makes

Re: [Qemu-devel] [PATCH 09/14] qdev: connect some links and move type to object

2012-04-19 Thread Paolo Bonzini
Il 19/04/2012 16:46, Andreas Färber ha scritto: I suggested /unassigned because of no explicit parenting. Either the unstable /unassigned tree There is /machine/unattached, not /unattached. or qdev_get_machine() for the real device hierarchy. It's a device bus so it should be in one of the

Re: [Qemu-devel] [PATCH 09/14] qdev: connect some links and move type to object

2012-04-18 Thread Andreas Färber
Am 18.04.2012 22:56, schrieb Anthony Liguori: This makes sysbus part of the root hierarchy and all busses children of their respective parent DeviceState. Signed-off-by: Anthony Liguori aligu...@us.ibm.com --- hw/qdev.c| 11 +-- qom/object.c | 12 2 files

Re: [Qemu-devel] [PATCH 09/14] qdev: connect some links and move type to object

2012-04-18 Thread Anthony Liguori
On 04/18/2012 04:25 PM, Andreas Färber wrote: Am 18.04.2012 22:56, schrieb Anthony Liguori: This makes sysbus part of the root hierarchy and all busses children of their respective parent DeviceState. Signed-off-by: Anthony Liguorialigu...@us.ibm.com --- hw/qdev.c| 11 +--