qapi: Remove QMP events and commands from user-mode builds

We removed the QMP loop in user-mode builds in commit 1935e0e4e0
("qapi/meson: Remove QMP from user-mode emulation"), now commands
and events code is unreachable.

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <[email protected]>
Acked-by: Paolo Bonzini <[email protected]>
Signed-off-by: Markus Armbruster <[email protected]>
This commit is contained in:
Philippe Mathieu-Daudé authored and Markus Armbruster committed 2021-03-05 15:40:49 +01:00
1 parent 96291f1343
commit a0e61807a3
1 file changed
+8 -4
+8 -4
View File
@@ -102,11 +102,15 @@ foreach module : qapi_all_modules
'qapi-types-@[email protected]'.format(module),
'qapi-visit-@[email protected]'.format(module),
'qapi-visit-@[email protected]'.format(module),
'qapi-events-@[email protected]'.format(module),
'qapi-events-@[email protected]'.format(module),
'qapi-commands-@[email protected]'.format(module),
'qapi-commands-@[email protected]'.format(module),
]
if have_system or have_tools
qapi_module_outputs += [
'qapi-events-@[email protected]'.format(module),
'qapi-events-@[email protected]'.format(module),
'qapi-commands-@[email protected]'.format(module),
'qapi-commands-@[email protected]'.format(module),
]
endif
if module.endswith('-target')
qapi_specific_outputs += qapi_module_outputs
else