[libvirt] An API to copy files.

Wang King king.wang at huawei.com
Mon Jul 24 03:27:29 UTC 2017


I think io_helper is a good tool for copy a file, it can be avoided
libvirtd fail into uninterruptible sleep status when file system is
unreadable or unwritable.

On 2017/7/24 3:28, Julio Faracco wrote:

> Hi guys,
>
> Unfortunately, my company does not allow access to IRC.
> I need to ask question by email.
>
> Why doesn't libvirt have any method to copy files?
> A kind of virFileCopy(src, dst) for example.
>
> Libvirt has a lots of helper functions but it does not have a
> specific method to copy a file.
>
> There is a similar method inside openvz_conf.c.
> But I don't see any method inside virfile.c
>
> --
> Julio Cesar Faracco
>
> --
> libvir-list mailing list
> libvir-list at redhat.com
> https://www.redhat.com/mailman/listinfo/libvir-list
>
>
>





More information about the libvir-list mailing list