qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] compare machine type compat_props
@ 2022-09-08 10:36 Maksim Davydov
  2022-09-08 10:36 ` [PATCH 1/4] qom: add devault value Maksim Davydov
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Maksim Davydov @ 2022-09-08 10:36 UTC (permalink / raw)
  To: qemu-devel
  Cc: davydov-max, yc-core, pbonzini, berrange, eduardo,
	marcel.apfelbaum, f4bug, wangyanan55, armbru, alxndr, bsd,
	stefanha, thuth, darren.kenny, Qiuhao.Li, lvivier, jsnow, crosa,
	bleal

This script is necessary to choose the best machine type in the
appropriate cases. Also we have to check compat_props of the old MT 
after changes to be sure that they haven't broken old the MT. For 
example, pc_compat_3_1 of pc-q35-3.1 has Icelake-Client which was
removed in March.

changes:
* new default value print concept
* QEMU python library is used to collect qmp data
* remove auxiliary patches (that was used to fix ->get sematics)
* print compat_props in the correct order
* delete `absract` field to reduce output JSON size

Maksim Davydov (4):
  qom: add devault value
  qmp: add dump machine type compatible properties
  python/qmp: increase read buffer size
  scripts: add script to compare compatible properties

 hw/core/machine-qmp-cmds.c    |  22 +-
 python/qemu/qmp/qmp_client.py |   4 +-
 qapi/machine.json             |  54 ++++-
 qom/qom-qmp-cmds.c            |   2 +
 scripts/compare_mt.py         | 370 ++++++++++++++++++++++++++++++++++
 tests/qtest/fuzz/qos_fuzz.c   |   2 +-
 6 files changed, 448 insertions(+), 6 deletions(-)
 create mode 100755 scripts/compare_mt.py

-- 
2.25.1



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-09-10 12:06 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-08 10:36 [PATCH 0/4] compare machine type compat_props Maksim Davydov
2022-09-08 10:36 ` [PATCH 1/4] qom: add devault value Maksim Davydov
2022-09-10 10:46   ` Vladimir Sementsov-Ogievskiy
2022-09-08 10:36 ` [PATCH 2/4] qmp: add dump machine type compatible properties Maksim Davydov
2022-09-10 11:27   ` Vladimir Sementsov-Ogievskiy
2022-09-08 10:36 ` [PATCH 3/4] python/qmp: increase read buffer size Maksim Davydov
2022-09-10 11:29   ` Vladimir Sementsov-Ogievskiy
2022-09-08 10:36 ` [PATCH 4/4] scripts: add script to compare compatible properties Maksim Davydov
2022-09-10 12:05   ` Vladimir Sementsov-Ogievskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).