summaryrefslogtreecommitdiffstats
path: root/block.c
diff options
context:
space:
mode:
authorPaolo Bonzini2020-08-04 18:14:26 +0200
committerPaolo Bonzini2020-08-21 12:30:43 +0200
commit859aef026e51a4959d1ab535f0b7a00d63ed32ba (patch)
treea9536bef7890ad961b76072cd4a9d87bcd371775 /block.c
parentrules.mak: drop unneeded macros (diff)
downloadqemu-859aef026e51a4959d1ab535f0b7a00d63ed32ba.tar.gz
qemu-859aef026e51a4959d1ab535f0b7a00d63ed32ba.tar.xz
qemu-859aef026e51a4959d1ab535f0b7a00d63ed32ba.zip
meson: replace create-config with meson configure_file
Move the create-config logic to meson.build; create a configuration_data object and let meson handle the quoting and output. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'block.c')
-rw-r--r--block.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/block.c b/block.c
index 67c5028dd8..2ba76b2c36 100644
--- a/block.c
+++ b/block.c
@@ -433,9 +433,11 @@ static int bdrv_format_is_whitelisted(const char *format_name, bool read_only)
{
static const char *whitelist_rw[] = {
CONFIG_BDRV_RW_WHITELIST
+ NULL
};
static const char *whitelist_ro[] = {
CONFIG_BDRV_RO_WHITELIST
+ NULL
};
const char **p;