[libvirt] [PATCH] virsh: blockcopy: force an absolute path

Jiri Denemark jdenemar at redhat.com
Thu Apr 21 07:38:34 UTC 2016


On Wed, Apr 20, 2016 at 13:33:15 -0400, Cole Robinson wrote:
> virsh doesn't reject or absolutify a passed relative path, which
> can give unexpected results. Convert a relative path to an absolute
> one before calling the API
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1300177

virsh should never try to convert relative path to absolute. If we want
to support relative paths, libvirtd should convert them, but I don't
think we really want to do that. I think the right fix for this bug is
the bug summary says, i.e., just forbid using relative paths.

Jirka




More information about the libvir-list mailing list