]> git.proxmox.com Git - mirror_qemu.git/commit
block: Make more BlockDriver definitions static
authorKevin Wolf <kwolf@redhat.com>
Tue, 5 Sep 2023 13:06:07 +0000 (15:06 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 8 Sep 2023 15:03:09 +0000 (17:03 +0200)
commit9ea473fb7bd01d350a860044b3d8e46f8747e865
tree43c443ea98a9062fd3b6f7a9c19bb9092272aa1b
parent9e03a5e195a20e7a342bcbf9e49e113e4b4dc23d
block: Make more BlockDriver definitions static

Most block driver implementations don't have any reason for their
BlockDriver to be public. The only exceptions are bdrv_file, bdrv_raw
and bdrv_qcow2, which are actually used in other source files.

Make all other BlockDriver definitions static if they aren't yet.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-ID: <20230905130607.35134-3-kwolf@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/copy-before-write.c
block/preallocate.c
block/snapshot-access.c