From 406523f6b3e0482c2b3be571db7e979473d09d12 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Wed, 13 Oct 2021 11:43:54 +0200 Subject: configure, meson: move block layer options to meson_options.txt Unlike image formats, these also require an entry in config-host.h. Signed-off-by: Paolo Bonzini --- migration/meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'migration') diff --git a/migration/meson.build b/migration/meson.build index f8714dcb15..8b5ca5c047 100644 --- a/migration/meson.build +++ b/migration/meson.build @@ -28,7 +28,9 @@ softmmu_ss.add(files( ), gnutls) softmmu_ss.add(when: ['CONFIG_RDMA', rdma], if_true: files('rdma.c')) -softmmu_ss.add(when: 'CONFIG_LIVE_BLOCK_MIGRATION', if_true: files('block.c')) +if get_option('live_block_migration').allowed() + softmmu_ss.add(files('block.c')) +endif softmmu_ss.add(when: zstd, if_true: files('multifd-zstd.c')) specific_ss.add(when: 'CONFIG_SOFTMMU', -- cgit v1.2.3