On Thu, Nov 21, 2024 at 02:31:23PM +0100, Markus Armbruster wrote:
> Peter Xu <[email protected]> writes:
>
> > Always explicitly create QEMU system containers upfront.
> >
> > Root containers will be created when trying to fetch the root object the
> > 1st time.
>
> Which ones are affected?
I updated the commit message to this:
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
Note that I also added "backend" per request from Dan, as of now.
>
> Not a fan of creating stuff on first use, unless there may not be any
> use. But no worse than before.
True.. since that can be a separate question to answer, I avoided going too
far to dig into which binaries may use containers, which may not.
Thanks,
--
Peter Xu