]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: block: Add function to check if storage source allows concurrent access
authorPeter Krempa <pkrempa@redhat.com>
Tue, 14 Nov 2017 14:34:46 +0000 (15:34 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 23 Nov 2017 17:26:25 +0000 (18:26 +0100)
commit1fc3cd8731640aefc48bbd9fc489f21cb99c6f67
tree197abd41e0e69bbb1026b6a210b3eba439a21d9e
parent85b0e2f1260bb169298db5b44859be48426821f0
qemu: block: Add function to check if storage source allows concurrent access

Storage source format backing a shared device (e.g. running a cluster
filesystem) needs to support the sharing so that metadata are not
corrupted. Add a central function for checking this.
src/qemu/qemu_block.c
src/qemu/qemu_block.h