On 07/11/2017 11:46 AM, Peter Krempa wrote:
Use virStorageSource accessors to check the file and call
virStorageFileAccess before even attempting to stat the target. This
will be helpful once we try to add network destinations for block copy,
since there will be no need to stat them.
---
src/qemu/qemu_driver.c | 53 +++++++++++++++++++++++++++++++-------------------
1 file changed, 33 insertions(+), 20 deletions(-)
Reviewed-by: John Ferlan <jferlan(a)redhat.com>
John