Re: [Qemu-devel] [PATCH] qom: Refine container_get() to allow using a custom root

2012-04-24 Thread Anthony Liguori
On 04/05/2012 06:21 AM, Andreas Färber wrote: Specify the root to search from as argument. This avoids hardcoding "/machine" in some places and makes it more flexible. Signed-off-by: Andreas Färber Cc: Paolo Bonzini Cc: Anthony Liguori Applied. Thanks. Regards, Anthony Liguori --- hw/qd

Re: [Qemu-devel] [PATCH] qom: Refine container_get() to allow using a custom root

2012-04-19 Thread Andreas Färber
Am 19.04.2012 17:43, schrieb Anthony Liguori: > On 04/19/2012 10:19 AM, Andreas Färber wrote: >> Am 05.04.2012 13:30, schrieb Paolo Bonzini: >>> Il 05/04/2012 13:21, Andreas Färber ha scritto: Specify the root to search from as argument. This avoids hardcoding "/machine" in some places an

Re: [Qemu-devel] [PATCH] qom: Refine container_get() to allow using a custom root

2012-04-19 Thread Anthony Liguori
On 04/19/2012 10:19 AM, Andreas Färber wrote: Am 05.04.2012 13:30, schrieb Paolo Bonzini: Il 05/04/2012 13:21, Andreas Färber ha scritto: Specify the root to search from as argument. This avoids hardcoding "/machine" in some places and makes it more flexible. Signed-off-by: Andreas Färber Cc:

Re: [Qemu-devel] [PATCH] qom: Refine container_get() to allow using a custom root

2012-04-19 Thread Andreas Färber
Am 05.04.2012 13:30, schrieb Paolo Bonzini: > Il 05/04/2012 13:21, Andreas Färber ha scritto: >> Specify the root to search from as argument. This avoids hardcoding >> "/machine" in some places and makes it more flexible. >> >> Signed-off-by: Andreas Färber >> Cc: Paolo Bonzini >> Cc: Anthony Lig

[Qemu-devel] [PATCH] qom: Refine container_get() to allow using a custom root

2012-04-05 Thread Andreas Färber
Specify the root to search from as argument. This avoids hardcoding "/machine" in some places and makes it more flexible. Signed-off-by: Andreas Färber Cc: Paolo Bonzini Cc: Anthony Liguori --- hw/qdev-monitor.c |4 ++-- hw/qdev.c |7 --- include/qemu/object.h |

Re: [Qemu-devel] [PATCH] qom: Refine container_get() to allow using a custom root

2012-04-05 Thread Paolo Bonzini
Il 05/04/2012 13:21, Andreas Färber ha scritto: > Specify the root to search from as argument. This avoids hardcoding > "/machine" in some places and makes it more flexible. > > Signed-off-by: Andreas Färber > Cc: Paolo Bonzini > Cc: Anthony Liguori Looks good, thanks. Paolo > --- > hw/qdev