libvirt/src/openvz
Cole Robinson b1fc6a7b73 conf: domain: reject name containing '/'
Trying to define a domain name containing an embedded '/'
will immediately fail when trying to write the XML to disk for
our stateful drivers. This patch explicitly rejects names
containing a '/', and provides an xmlopt feature for drivers
to avoid this validation check, which is enabled in every
non-stateful driver that already has xmlopt handling wired up.

(Technically this could reject a previously accepted vmname like
 '/foo', however at least for the qemu driver that falls over
 later when starting qemu)

https://bugzilla.redhat.com/show_bug.cgi?id=639923
2016-05-02 10:06:04 -04:00
..
openvz_conf.c openvz: Use virStringSplitCount instead of strtok_r 2016-02-25 11:52:45 -05:00
openvz_conf.h conf: Split virDomainObjList into a separate file 2015-11-30 13:55:10 +01:00
openvz_driver.c conf: domain: reject name containing '/' 2016-05-02 10:06:04 -04:00
openvz_driver.h
openvz_util.c Make tests independant of system page size 2015-02-02 20:27:43 +00:00
openvz_util.h