aboutsummaryrefslogtreecommitdiff
path: root/block.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2020-08-04 18:14:26 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2020-08-21 06:30:43 -0400
commit859aef026e51a4959d1ab535f0b7a00d63ed32ba (patch)
treea9536bef7890ad961b76072cd4a9d87bcd371775 /block.c
parent484e2cc730a86f7066b3e29c5bb8440747b61f01 (diff)
downloadqemu-859aef026e51a4959d1ab535f0b7a00d63ed32ba.zip
qemu-859aef026e51a4959d1ab535f0b7a00d63ed32ba.tar.gz
qemu-859aef026e51a4959d1ab535f0b7a00d63ed32ba.tar.bz2
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 67c5028..2ba76b2 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;