diff options
| author | Peter Xu <peterx@redhat.com> | 2024-11-21 14:22:01 -0500 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-01-09 18:16:24 +0100 |
| commit | d3176a9f387f8b6b56882045d36f5b3f82565d90 (patch) | |
| tree | f2ba15defa86b05ddd4b1d8bb2753ed498a1193c /chardev/char.c | |
| parent | 180e8f16f0ad6835ce0c437c7ffc9f25801a399e (diff) | |
| download | focaccia-qemu-d3176a9f387f8b6b56882045d36f5b3f82565d90.tar.gz focaccia-qemu-d3176a9f387f8b6b56882045d36f5b3f82565d90.zip | |
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>
Diffstat (limited to 'chardev/char.c')
| -rw-r--r-- | chardev/char.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chardev/char.c b/chardev/char.c index 44ff116fcd..7705da5ad0 100644 --- a/chardev/char.c +++ b/chardev/char.c @@ -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) |