]> xenbits.xensource.com Git - libvirt.git/commit
util: storage: Add helper for determining whether a backing chain requires PR
authorPeter Krempa <pkrempa@redhat.com>
Thu, 17 May 2018 10:52:02 +0000 (12:52 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 5 Jun 2018 06:14:00 +0000 (08:14 +0200)
commit8ac8301366f4f04bd566be9e0e8209530d16d2f9
treef235f3600cea896e8415c4ee564c42c4a1cd4b11
parent3875459235d52201327fa67058e20909c5877cae
util: storage: Add helper for determining whether a backing chain requires PR

With blockdev support we will need to introspect whether any of the
backing chain members requires PR rather just one of them. Add a helper
and reuse it in virDomainDefHasManagedPR.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/conf/domain_conf.c
src/libvirt_private.syms
src/util/virstoragefile.c
src/util/virstoragefile.h