]> xenbits.xensource.com Git - qemu-xen.git/commit
qapi: Make some ObjectTypes depend on the build settings
authorThomas Huth <thuth@redhat.com>
Tue, 28 Sep 2021 16:02:32 +0000 (18:02 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 13 Oct 2021 08:47:49 +0000 (10:47 +0200)
commitf1279fc15bf4315fb8e103e6eabaee014ce1f914
tree00605ed63874f2c6ec14da4c0e5958da666e9984
parent8c9e7f8c8a6de68be1e31a645f7d76855fc219ba
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>
qapi/qom.json