diff options
author | Coiby Xu <coiby.xu@gmail.com> | 2020-09-18 16:09:09 +0800 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2020-10-23 13:42:16 +0100 |
commit | 5937835ac4cfb2f5e16bebf13b9ea42770c96785 (patch) | |
tree | 775e94555bee4c1f733b8c58000986c3f6439436 /util/meson.build | |
parent | 70eb2c079cdfa835c70aec8887710b18092516a0 (diff) | |
download | qemu-5937835ac4cfb2f5e16bebf13b9ea42770c96785.zip qemu-5937835ac4cfb2f5e16bebf13b9ea42770c96785.tar.gz qemu-5937835ac4cfb2f5e16bebf13b9ea42770c96785.tar.bz2 |
block: move logical block size check function to a common utility function
Move the constants from hw/core/qdev-properties.c to
util/block-helpers.h so that knowledge of the min/max values is
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Coiby Xu <coiby.xu@gmail.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Eduardo Habkost <ehabkost@redhat.com>
Message-id: 20200918080912.321299-5-coiby.xu@gmail.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'util/meson.build')
-rw-r--r-- | util/meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/meson.build b/util/meson.build index 3921981..2296e81 100644 --- a/util/meson.build +++ b/util/meson.build @@ -67,6 +67,7 @@ if have_block util_ss.add(files('nvdimm-utils.c')) util_ss.add(files('qemu-coroutine.c', 'qemu-coroutine-lock.c', 'qemu-coroutine-io.c')) util_ss.add(when: 'CONFIG_LINUX', if_true: files('vhost-user-server.c')) + util_ss.add(files('block-helpers.c')) util_ss.add(files('qemu-coroutine-sleep.c')) util_ss.add(files('qemu-co-shared-resource.c')) util_ss.add(files('thread-pool.c', 'qemu-timer.c')) |