From: Maksim Davydov <davydov-max@yandex-team.ru>
To: qemu-devel@nongnu.org
Cc: davydov-max@yandex-team.ru, yc-core@yandex-team.ru,
pbonzini@redhat.com, berrange@redhat.com, eduardo@habkost.net,
marcel.apfelbaum@gmail.com, f4bug@amsat.org,
wangyanan55@huawei.com, armbru@redhat.com, alxndr@bu.edu,
bsd@redhat.com, stefanha@redhat.com, thuth@redhat.com,
darren.kenny@oracle.com, Qiuhao.Li@outlook.com,
lvivier@redhat.com, jsnow@redhat.com, crosa@redhat.com,
bleal@redhat.com
Subject: [PATCH 0/4] compare machine type compat_props
Date: Thu, 8 Sep 2022 13:36:46 +0300 [thread overview]
Message-ID: <20220908103650.9518-1-davydov-max@yandex-team.ru> (raw)
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
next reply other threads:[~2022-09-08 10:44 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-08 10:36 Maksim Davydov [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220908103650.9518-1-davydov-max@yandex-team.ru \
--to=davydov-max@yandex-team.ru \
--cc=Qiuhao.Li@outlook.com \
--cc=alxndr@bu.edu \
--cc=armbru@redhat.com \
--cc=berrange@redhat.com \
--cc=bleal@redhat.com \
--cc=bsd@redhat.com \
--cc=crosa@redhat.com \
--cc=darren.kenny@oracle.com \
--cc=eduardo@habkost.net \
--cc=f4bug@amsat.org \
--cc=jsnow@redhat.com \
--cc=lvivier@redhat.com \
--cc=marcel.apfelbaum@gmail.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.com \
--cc=thuth@redhat.com \
--cc=wangyanan55@huawei.com \
--cc=yc-core@yandex-team.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).