qom: Use object_get_container()

Use object_get_container() whenever applicable across the tree.

Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20241121192202.4155849-13-peterx@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
Peter Xu 2024-11-21 14:22:01 -05:00 committed by Philippe Mathieu-Daudé
parent 180e8f16f0
commit d3176a9f38
6 changed files with 8 additions and 8 deletions

View file

@ -48,7 +48,7 @@
Object *get_chardevs_root(void)
{
return container_get(object_get_root(), "/chardevs");
return object_get_container("chardevs");
}
static void chr_be_event(Chardev *s, QEMUChrEvent event)