[RFC PATCH 00/35] hw/qdev: Warn when using pre-qdev/QOM devices

2020-06-08 Thread Philippe Mathieu-Daudé
Based on today's IRC chat, this is a trivial RFC series to anotate pre-qdev/QOM devices so developers using them without knowing they are not QOM'ified yet can realize it and convert them if they have time. qdev/QOM devices are introspectable, so easier to test or even fuzz. Philippe Mathieu-Daud

Re: [RFC PATCH 00/35] hw/qdev: Warn when using pre-qdev/QOM devices

2020-06-08 Thread Peter Maydell
On Mon, 8 Jun 2020 at 17:00, Philippe Mathieu-Daudé wrote: > > Based on today's IRC chat, this is a trivial RFC series > to anotate pre-qdev/QOM devices so developers using them > without knowing they are not QOM'ified yet can realize > it and convert them if they have time. What mechanism did yo

Re: [RFC PATCH 00/35] hw/qdev: Warn when using pre-qdev/QOM devices

2020-06-08 Thread Philippe Mathieu-Daudé
On 6/8/20 6:14 PM, Peter Maydell wrote: > On Mon, 8 Jun 2020 at 17:00, Philippe Mathieu-Daudé wrote: >> >> Based on today's IRC chat, this is a trivial RFC series >> to anotate pre-qdev/QOM devices so developers using them >> without knowing they are not QOM'ified yet can realize >> it and convert

Re: [RFC PATCH 00/35] hw/qdev: Warn when using pre-qdev/QOM devices

2020-06-09 Thread Paolo Bonzini
On 08/06/20 18:17, Philippe Mathieu-Daudé wrote: > On 6/8/20 6:14 PM, Peter Maydell wrote: >> On Mon, 8 Jun 2020 at 17:00, Philippe Mathieu-Daudé >> wrote: >>> >>> Based on today's IRC chat, this is a trivial RFC series >>> to anotate pre-qdev/QOM devices so developers using them >>> without know