diff options
-rw-r--r-- | block/file-posix.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/block/file-posix.c b/block/file-posix.c index 6e6bf3f4a5..83ab1b78ef 100644 --- a/block/file-posix.c +++ b/block/file-posix.c @@ -2752,7 +2752,11 @@ static QemuOptsList raw_create_opts = { { .name = BLOCK_OPT_PREALLOC, .type = QEMU_OPT_STRING, - .help = "Preallocation mode (allowed values: off, falloc, full)" + .help = "Preallocation mode (allowed values: off" +#ifdef CONFIG_POSIX_FALLOCATE + ", falloc" +#endif + ", full)" }, { /* end of list */ } } |