[libvirt] [PATCH 5/5] qemu: blockcopy: Refactor logic checking the target storage file
John Ferlan
jferlan at redhat.com
Wed Jul 19 21:52:07 UTC 2017
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 at redhat.com>
John
More information about the libvir-list
mailing list