On 04/25/2018 08:20 AM, Laszlo Ersek wrote: > ... > > and people would ask themselves ever after, "are there some common > fields in there that we could extract ... hmmm, @props and @arch, okay, > maybe, maybe not, grey area". Let's do it now and save them the thinking.
No, CpuInfo is slated for death in the next year or so; per commit ff9a9156. Once it disappears (in 2.14 or 2.15?), we will ONLY have CpuInfoFast (although we might rename it at that time, as the name of QMP structs is not part of the introspection interface). So, my personal inclination is to just live with the mindless near-duplication until the deprecation period ends, rather than wasting cycles refactoring things just to refactor it back out when removing the dead code later. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature