On Thu, Sep 10, 2020 at 07:29:03AM +0200, Philippe Mathieu-Daudé wrote: > On 9/9/20 8:15 PM, Eduardo Habkost wrote: > > Hi, > > > > Thanks for the patch, and sorry for taking so long to review > > this. I'm finally getting to the patches that were postponed to > > 5.2. > > Sorry I missed that patch too. > > Why restrict this to CPUClass, and not provide this feature to > all ObjectClass?
We could do it, but the field would be left unused for anything that's not a CPU model or machine type, as there are no other QMP interfaces for querying deprecation status yet. A QMP interface for querying deprecation status of device types in general would be useful, though. -- Eduardo