Re: [RFC PATCH 0/7] hw/qdev: Split 'wiring' phase from 'realize'

2024-02-09 Thread Bernhard Beschow
Am 9. Februar 2024 12:32:18 UTC schrieb "Philippe Mathieu-Daudé" : >Hi, > >Various issues related to implementing dynamic machines have >been documented in [1]. > >We are trying to understand what means "a qdev is realized". >One explanation was "the device is guest visible"; however >many

Re: [RFC PATCH 0/7] hw/qdev: Split 'wiring' phase from 'realize'

2024-02-09 Thread BALATON Zoltan
Hello, Instead of adding a new method to devices, why not move wiring to the code that created/realized the device? Either it's the job of the code that created the device and wants to use it or if it's an internal object the device itself is created then it should be OK to wire it in the

[RFC PATCH 0/7] hw/qdev: Split 'wiring' phase from 'realize'

2024-02-09 Thread Philippe Mathieu-Daudé
Hi, Various issues related to implementing dynamic machines have been documented in [1]. We are trying to understand what means "a qdev is realized". One explanation was "the device is guest visible"; however many devices are realized before being mapped, thus are not "guest visible". Some