Re: [Qemu-devel] [PATCH 1/4] qom: add container_get

2012-03-27 Thread Anthony Liguori
On 03/27/2012 11:38 AM, Paolo Bonzini wrote: This is QOM "mkdir -p". It is useful when referring to container objects such as "/machine". That's a very interesting analogy... Reviewed-by: Anthony Liguori With the big caveat of let's not abuse how easy this makes it to add depth to the hier

[Qemu-devel] [PATCH 1/4] qom: add container_get

2012-03-27 Thread Paolo Bonzini
This is QOM "mkdir -p". It is useful when referring to container objects such as "/machine". Signed-off-by: Paolo Bonzini --- hw/qdev-monitor.c |8 ++-- include/qemu/object.h | 24 qom/container.c | 23 +++ qom/object.c