[libvirt] [PATCH 12/12] qemu: blockcopy: sanitize permission handling for 'mirror'

Ján Tomko jtomko at redhat.com
Tue May 21 10:43:51 UTC 2019


On Fri, May 17, 2019 at 01:19:58PM +0200, Peter Krempa wrote:
>At the point when we want to modify the permissions for the 'mirror' we
>know whether it is supposed to have a backing chain or no. Given that
>mirror->backingStore is populated only when we'd need to touch it ayways
>we can use qemuDomainStorageSourceChainAccessAllow even in place of
>qemuDomainStorageSourceAccessAllow used for other cases to simplify the
>code.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_driver.c | 15 +++------------
> 1 file changed, 3 insertions(+), 12 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190521/2683b20f/attachment-0001.sig>


More information about the libvir-list mailing list