mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
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:
parent
180e8f16f0
commit
d3176a9f38
6 changed files with 8 additions and 8 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue