summary refs log tree commit diff stats
path: root/scripts/qapi/commands.py
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2021-09-28 18:02:32 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2021-10-13 10:47:49 +0200
commitf1279fc15bf4315fb8e103e6eabaee014ce1f914 (patch)
tree00605ed63874f2c6ec14da4c0e5958da666e9984 /scripts/qapi/commands.py
parent8c9e7f8c8a6de68be1e31a645f7d76855fc219ba (diff)
downloadfocaccia-qemu-f1279fc15bf4315fb8e103e6eabaee014ce1f914.tar.gz
focaccia-qemu-f1279fc15bf4315fb8e103e6eabaee014ce1f914.zip
qapi: Make some ObjectTypes depend on the build settings
Some of the ObjectType entries already depend on CONFIG_* switches.
Some others also only make sense with certain configurations, but
are currently always listed in the ObjectType enum. Let's make them
depend on the correpsonding CONFIG_* switches, too, so that upper
layers (like libvirt) have a better way to determine which features
are available in QEMU.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20210928160232.432980-1-thuth@redhat.com>
[Do the same for MemoryBackendEpcProperties. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/qapi/commands.py')
0 files changed, 0 insertions, 0 deletions