]> git.ipfire.org Git - thirdparty/qemu.git/commit
qom: Create system containers explicitly
authorPeter Xu <peterx@redhat.com>
Thu, 21 Nov 2024 19:21:56 +0000 (14:21 -0500)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 20 Dec 2024 16:44:56 +0000 (17:44 +0100)
commit5cfd38a2e7d531f45607944ceb34eee5bf2c0ab5
tree62e255d4101eb4272de3d50863ecdcdf5a5dcc18
parent7c03a17c8da54d30727b9bb4558cc298aaaaa99b
qom: Create system containers explicitly

Always explicitly create QEMU system containers upfront.

Root containers will be created when trying to fetch the root object the
1st time.  They are:

  /objects
  /chardevs
  /backend

Machine sub-containers will be created only until machine is being
initialized.  They are:

  /machine/unattached
  /machine/peripheral
  /machine/peripheral-anon

Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20241121192202.4155849-8-peterx@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/core/machine.c
qom/object.c
system/vl.c