Should bus-less devices default to .user_creatable = false? (was: [PATCH 13/13] bcm2835_cprman: put some peripherals of bcm2835 cprman into the 'misc' category)

2020-11-18 Thread Markus Armbruster
Markus Armbruster writes: [...] > qdev_device_add() looks like a bus-less device is usable if the machine > provides a hotplug handler for it. Commit 03fcbd9dc5 "qdev: Check for > the availability of a hotplug controller before adding a device" seems > to be pertinent. Nope. A hotplug handler

Re: Should bus-less devices default to .user_creatable = false? (was: [PATCH 13/13] bcm2835_cprman: put some peripherals of bcm2835 cprman into the 'misc' category)

2020-11-18 Thread Thomas Huth
On 18/11/2020 09.50, Markus Armbruster wrote: > Markus Armbruster writes: > > [...] >> qdev_device_add() looks like a bus-less device is usable if the machine >> provides a hotplug handler for it. Commit 03fcbd9dc5 "qdev: Check for >> the availability of a hotplug controller before adding a