Re: [PATCH 08/17] ssi: Add ssi_realize_and_unref()

2020-06-30 Thread Alistair Francis
On Sun, Jun 28, 2020 at 7:27 AM Peter Maydell wrote: > > Add an ssi_realize_and_unref(), for the benefit of callers > who want to be able to create an SSI device, set QOM properties > on it, and then do the realize-and-unref afterwards. > > The API works on the same principle as the recently added

Re: [PATCH 08/17] ssi: Add ssi_realize_and_unref()

2020-06-29 Thread Philippe Mathieu-Daudé
On 6/28/20 4:24 PM, Peter Maydell wrote: > Add an ssi_realize_and_unref(), for the benefit of callers > who want to be able to create an SSI device, set QOM properties > on it, and then do the realize-and-unref afterwards. > > The API works on the same principle as the recently added > qdev_realiz

[PATCH 08/17] ssi: Add ssi_realize_and_unref()

2020-06-28 Thread Peter Maydell
Add an ssi_realize_and_unref(), for the benefit of callers who want to be able to create an SSI device, set QOM properties on it, and then do the realize-and-unref afterwards. The API works on the same principle as the recently added qdev_realize_and_undef(), sysbus_realize_and_undef(), etc. Sign