[libvirt] [PATCH v2] schema: Don't validate paths

Cole Robinson crobinso at redhat.com
Fri Aug 12 13:57:49 UTC 2016

On 08/12/2016 06:00 AM, Michal Privoznik wrote:
> https://bugzilla.redhat.com/show_bug.cgi?id=1353296
> On UNIX like systems there are no constraints on what characters
> can be in file/dir names (except for NULL, obviously). Moreover,
> some values that we think of as paths (e.g. disk source) are not
> necessarily paths at all. For instance, some hypervisors take
> that as an arbitrary identifier and corresponding file is then
> looked up by hypervisor in its table. Instead of trying to fix
> our regular expressions (and forgetting to include yet another
> character there), lets drop the validation completely.
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>


- Cole

More information about the libvir-list mailing list