Re: [libvirt] [PATCH 4/7] virstoragefile: Introduce virStorageSourceChainGetManagedPRAlias

2018-07-04 Thread Peter Krempa
On Wed, Jul 04, 2018 at 12:46:52 +0200, Michal Privoznik wrote: > When processing a pr-manager related event from qemu we will know > pr-manager alias. So we need a helper to traverse backing chain > and return any managed alias it finds so that the caller can > compare these two aliases to learn i

[libvirt] [PATCH 4/7] virstoragefile: Introduce virStorageSourceChainGetManagedPRAlias

2018-07-04 Thread Michal Privoznik
When processing a pr-manager related event from qemu we will know pr-manager alias. So we need a helper to traverse backing chain and return any managed alias it finds so that the caller can compare these two aliases to learn if it is a managed helper or not. Signed-off-by: Michal Privoznik ---