On Mon, Jun 14, 2021 at 16:58:09 +0200, Pavel Hrdina wrote:
In libvirt we already use `query-command-line-options` QMP command
but
that is useless as it doesn't provide correct data for `-machine`
option. So we need a new and better way to get that data.
We already use `qom-list-properties` to get options for specific machine
types so we can reuse it to get options for special `none` machine type
as a generic arch independent machine type.
Signed-off-by: Pavel Hrdina <phrdina(a)redhat.com>
---
src/qemu/qemu_capabilities.c | 10 ++++++++++
src/qemu/qemu_capabilities.h | 3 +++
2 files changed, 13 insertions(+)
Reviewed-by: Peter Krempa <pkrempa(a)redhat.com>