Re: [PATCH 00/13] single-binary: make QAPI generated files common

2025-05-07 Thread Pierrick Bouvier
For people who would be interested to try this series, I used attached script. $ ./qmp_schema.sh ./build/qemu-system-x86_64 -M none > x86_64 $ ./qmp_schema.sh ./build/qemu-system-s390x -M none > s390x $ vimdiff x86_64 s390x diff --git a/qmp_schema.sh b/qmp_schema.sh new file mode 100755 in

[PATCH 00/13] single-binary: make QAPI generated files common

2025-05-07 Thread Pierrick Bouvier
This series compiles QAPI generated once, while keeping the same schema and commands exposed to the QAPI consumer. Steps: - Introduce a new json entry, named 'runtime_if' (name is not definitive, see patch 1), to allow dynamic check about exposing a given entry/command or not. - Conditionally e