diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2021-10-13 11:43:54 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-02-21 10:35:53 +0100 |
commit | 406523f6b3e0482c2b3be571db7e979473d09d12 (patch) | |
tree | d488da1026d4fc290f09cf461916c1cd561b5fd5 /migration/meson.build | |
parent | ed793c2c455e1c376ae271d8acc5ac40221ecfd1 (diff) |
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 <pbonzini@redhat.com>
Diffstat (limited to 'migration/meson.build')
-rw-r--r-- | migration/meson.build | 4 |
1 files changed, 3 insertions, 1 deletions
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', |