mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
qapi/meson: Restrict qdev code to system-mode emulation
Beside a CPU device, user-mode emulation doesn't access anything else from qdev subsystem. Tools don't need anything from qdev. Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20210122204441.2145197-10-philmd@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
957b31f6c5
commit
9b45a025ed
4 changed files with 31 additions and 1 deletions
|
@ -35,7 +35,6 @@ qapi_all_modules = [
|
|||
'misc-target',
|
||||
'net',
|
||||
'pragma',
|
||||
'qdev',
|
||||
'pci',
|
||||
'qom',
|
||||
'rdma',
|
||||
|
@ -49,6 +48,11 @@ qapi_all_modules = [
|
|||
'ui',
|
||||
'yank',
|
||||
]
|
||||
if have_system
|
||||
qapi_all_modules += [
|
||||
'qdev',
|
||||
]
|
||||
endif
|
||||
|
||||
qapi_storage_daemon_modules = [
|
||||
'block-core',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue