Re: [PATCH 12/12] qom: Drop container_get()

2024-11-21 Thread Daniel P . Berrangé
Subject says drop container_get, actual commit does alot more. Suggest splitting the conversion to (object/machine)_get_container, from the dropping of container_get. On Wed, Nov 20, 2024 at 04:57:03PM -0500, Peter Xu wrote: > Now we should be ready to always create containers upfront, meanwhile

[PATCH 12/12] qom: Drop container_get()

2024-11-20 Thread Peter Xu
Now we should be ready to always create containers upfront, meanwhile we have explicit helpers to fetch either: - Root containers (object_get_container()), or - Machine containers (machine_get_container()). Change all rest container_get() users to use the explicit & fast version of container