qemu-e2k/qapi
Paolo Bonzini a061a71e0d qapi: qom: do not use target-specific conditionals
ObjectType and ObjectOptions are defined in a target-independent file,
therefore they do not have access to target-specific configuration
symbols such as CONFIG_PSERIES or CONFIG_SEV.  For this reason,
pef-guest and sev-guest are currently omitted when compiling the
generated QAPI files.  In addition, this causes ObjectType to have
different definitions depending on the file that is including
qapi-types-qom.h (currently this is not causing any issues, but it
is wrong).

Define the two enum entries and the SevGuestProperties type
unconditionally to avoid the issue.  We do not expect to have
many target-dependent user-creatable classes, so it is not
particularly problematic.

Reported-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2021-04-01 09:40:45 +02:00
..
acpi.json
audio.json
authz.json
block-core.json block: Remove monitor command block_passwd 2021-03-23 22:31:56 +01:00
block-export.json
block.json
char.json
common.json
compat.json qapi: New -compat deprecated-input=crash 2021-03-19 16:05:11 +01:00
control.json
crypto.json
dump.json
error.json
hmp-output-visitor.c
introspect.json monitor: Drop query-qmp-schema 'gen': false hack 2021-03-19 16:05:09 +01:00
job.json
machine-target.json
machine.json
meson.build qemu-options: New -compat to set policy for deprecated interfaces 2021-03-19 15:43:33 +01:00
migration.json
misc-target.json
misc.json
net.json
opts-visitor.c
pci.json
pragma.json block: Remove monitor command block_passwd 2021-03-23 22:31:56 +01:00
qapi-clone-visitor.c
qapi-dealloc-visitor.c
qapi-schema.json qemu-options: New -compat to set policy for deprecated interfaces 2021-03-19 15:43:33 +01:00
qapi-util.c
qapi-visit-core.c qapi: Implement deprecated-input=reject for QMP command arguments 2021-03-19 16:05:11 +01:00
qdev.json
qmp-dispatch.c qapi: New -compat deprecated-input=crash 2021-03-19 16:05:11 +01:00
qmp-event.c
qmp-registry.c
qobject-input-visitor.c qapi: New -compat deprecated-input=crash 2021-03-19 16:05:11 +01:00
qobject-output-visitor.c qapi: Implement deprecated-output=hide for QMP command results 2021-03-19 15:43:33 +01:00
qom.json qapi: qom: do not use target-specific conditionals 2021-04-01 09:40:45 +02:00
rdma.json
replay.json
rocker.json
run-state.json
sockets.json
string-input-visitor.c
string-output-visitor.c
tpm.json
trace-events qapi: Implement deprecated-input=reject for QMP command arguments 2021-03-19 16:05:11 +01:00
trace.h
trace.json
transaction.json
ui.json qmp: add new qmp display-reload 2021-03-23 08:48:21 +01:00
yank.json