On Thu, Sep 04, 2025 at 16:46:53 +0200, Jiri Denemark via Devel wrote: > From: Jiri Denemark <[email protected]> > > When getting enabled CPU features (qemuMonitorJSONGetCPUData), we used > to call qemuMonitorJSONGetCPUProperties to get the list of all boolean > properties and then queried their values and ignored properties that > were not true. By moving the filtering inside > qemuMonitorJSONGetCPUProperties we don't need to even add disabled > features to any list and also get ready for better QMP interface. > > Signed-off-by: Jiri Denemark <[email protected]> > --- > src/qemu/qemu_monitor_json.c | 32 ++++++++++++++++++++++---------- > 1 file changed, 22 insertions(+), 10 deletions(-)
Reviewed-by: Peter Krempa <[email protected]>
