mirror of
https://github.com/mii443/qemu.git
synced 2025-12-03 11:08:25 +00: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:
committed by
Paolo Bonzini
parent
957b31f6c5
commit
9b45a025ed
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user