Re: [libvirt] [PATCH 10/12] qemu: Validate backing store of 'mirror' for block copy

2019-05-21 Thread Ján Tomko
On Fri, May 17, 2019 at 01:19:56PM +0200, Peter Krempa wrote: Since 4e797f1a we parse backingStore of mirror which will later be used with blockdev. Add some validation for the user passed mirror at the current point to make sure it's not used improperly. Validate that it's not used without bloc

[libvirt] [PATCH 10/12] qemu: Validate backing store of 'mirror' for block copy

2019-05-17 Thread Peter Krempa
Since 4e797f1a we parse backingStore of mirror which will later be used with blockdev. Add some validation for the user passed mirror at the current point to make sure it's not used improperly. Validate that it's not used without blockdev and also that it's not passed when not requesting a shallow