aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2023-09-28 09:49:15 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2023-10-03 10:29:39 +0200
commit0c1a5299ab1d04ade6e6ff0fa2bc98e33cecaa80 (patch)
tree28274383ad0d6f4bcca379b5f4c4bba67652493b /hw
parentbe2b619a17345d007bcf9987a3e4afd1edea3e4f (diff)
downloadqemu-0c1a5299ab1d04ade6e6ff0fa2bc98e33cecaa80.zip
qemu-0c1a5299ab1d04ade6e6ff0fa2bc98e33cecaa80.tar.gz
qemu-0c1a5299ab1d04ade6e6ff0fa2bc98e33cecaa80.tar.bz2
crypto: only include tls-cipher-suites in emulators
tls-cipher-suites is an object that is used to inject TLS configuration into the guest (via fw_cfg). It is never used for host-side TLS operation, and therefore it need not be available in the tools. Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/nvram/meson.build6
1 files changed, 1 insertions, 5 deletions
diff --git a/hw/nvram/meson.build b/hw/nvram/meson.build
index 988dff6..75e415b 100644
--- a/hw/nvram/meson.build
+++ b/hw/nvram/meson.build
@@ -1,8 +1,4 @@
-if have_system or have_tools
- # QOM interfaces must be available anytime QOM is used.
- qom_ss.add(files('fw_cfg-interface.c'))
-endif
-
+system_ss.add(files('fw_cfg-interface.c'))
system_ss.add(files('fw_cfg.c'))
system_ss.add(when: 'CONFIG_CHRP_NVRAM', if_true: files('chrp_nvram.c'))
system_ss.add(when: 'CONFIG_DS1225Y', if_true: files('ds1225y.c'))