Re: [PATCH 07/12] ppc/e500: Avoid abuse of container_get()

2024-11-21 Thread Philippe Mathieu-Daudé
On 21/11/24 17:41, Peter Xu wrote: On Thu, Nov 21, 2024 at 10:48:43AM +0100, Cédric Le Goater wrote: On 11/21/24 10:38, Cédric Le Goater wrote: On 11/20/24 22:56, Peter Xu wrote: container_get() is going to become strict on not allowing to return a non-container. Switch the e500 user to use o

Re: [PATCH 07/12] ppc/e500: Avoid abuse of container_get()

2024-11-21 Thread Peter Xu
On Thu, Nov 21, 2024 at 10:48:43AM +0100, Cédric Le Goater wrote: > On 11/21/24 10:38, Cédric Le Goater wrote: > > On 11/20/24 22:56, Peter Xu wrote: > > > container_get() is going to become strict on not allowing to return a > > > non-container. > > > > > > Switch the e500 user to use object_reso

Re: [PATCH 07/12] ppc/e500: Avoid abuse of container_get()

2024-11-21 Thread Daniel P . Berrangé
On Wed, Nov 20, 2024 at 04:56:58PM -0500, Peter Xu wrote: > container_get() is going to become strict on not allowing to return a > non-container. > > Switch the e500 user to use object_resolve_path_component() explicitly. > > Cc: Bharat Bhushan > Cc: qemu-...@nongnu.org > Signed-off-by: Peter X

Re: [PATCH 07/12] ppc/e500: Avoid abuse of container_get()

2024-11-21 Thread Cédric Le Goater
On 11/21/24 10:38, Cédric Le Goater wrote: On 11/20/24 22:56, Peter Xu wrote: container_get() is going to become strict on not allowing to return a non-container. Switch the e500 user to use object_resolve_path_component() explicitly. Cc: Bharat Bhushan Cc: qemu-...@nongnu.org Signed-off-by:

Re: [PATCH 07/12] ppc/e500: Avoid abuse of container_get()

2024-11-21 Thread Cédric Le Goater
On 11/20/24 22:56, Peter Xu wrote: container_get() is going to become strict on not allowing to return a non-container. Switch the e500 user to use object_resolve_path_component() explicitly. Cc: Bharat Bhushan Cc: qemu-...@nongnu.org Signed-off-by: Peter Xu --- hw/pci-host/ppce500.c | 4 ++