'opts-visitor.c',
'qapi-clone-visitor.c',
'qapi-dealloc-visitor.c',
+ 'qapi-forward-visitor.c',
'qapi-util.c',
'qapi-visit-core.c',
'qobject-input-visitor.c',
'qobject-output-visitor.c',
'string-input-visitor.c',
'string-output-visitor.c',
- 'hmp-output-visitor.c',
))
-if have_system or have_tools
+if have_system
+ util_ss.add(files('qapi-type-helpers.c'))
+endif
+if have_system or have_tools or have_ga
util_ss.add(files(
'qmp-dispatch.c',
'qmp-event.c',
'block-export',
'char',
'common',
+ 'compat',
'control',
'crypto',
+ 'cxl',
'dump',
'error',
'introspect',
'job',
+ 'machine-common',
'machine',
'machine-target',
'migration',
'replay',
'run-state',
'sockets',
+ 'stats',
'trace',
'transaction',
+ 'virtio',
'yank',
]
if have_system
qapi_all_modules += [
'acpi',
'audio',
+ 'cryptodev',
'qdev',
'pci',
'rdma',
]
endif
-qapi_storage_daemon_modules = [
- 'block-core',
- 'block-export',
- 'char',
- 'common',
- 'control',
- 'crypto',
- 'introspect',
- 'job',
- 'qom',
- 'sockets',
- 'pragma',
- 'transaction',
-]
-
qapi_nonmodule_outputs = [
'qapi-introspect.c', 'qapi-introspect.h',
'qapi-types.c', 'qapi-types.h',
'qapi-events-@0@.h'.format(module),
'qapi-commands-@0@.c'.format(module),
'qapi-commands-@0@.h'.format(module),
+ 'qapi-commands-@0@.trace-events'.format(module),
]
endif
if module.endswith('-target')
if output.endswith('.h')
genh += qapi_files[i]
endif
+ if output.endswith('.trace-events')
+ qapi_trace_events += qapi_files[i]
+ endif
util_ss.add(qapi_files[i])
i = i + 1
endforeach
if output.endswith('.h')
genh += qapi_files[i]
endif
- specific_ss.add(when: 'CONFIG_SOFTMMU', if_true: qapi_files[i])
+ if output.endswith('.trace-events')
+ qapi_trace_events += qapi_files[i]
+ endif
+ specific_ss.add(when: 'CONFIG_SYSTEM_ONLY', if_true: qapi_files[i])
i = i + 1
endforeach