[libvirt] Valid characters in domain names?

Daniel Veillard veillard at redhat.com
Mon Oct 4 10:59:57 UTC 2010


On Mon, Oct 04, 2010 at 05:55:56PM +1100, Justin Clift wrote:
> On 10/04/2010 05:38 PM, Daniel Veillard wrote:
> >   goes beyond that, someone using any non-ascii name will hit hypervisor
> >specific behaviour, ISO-Latin, asian language ... and we habe no control
> >over this except for some checking and the possibility of a warning.
> 
> Wonder what the best approach will be.  Maybe a whitelist on "known
> good" characters, and a conversion table for situations where we need
> to proceed anyway?  (if that happens)

  Well I don't think there is a good solution. Best is to warn the user
and allow him to recover if possible.

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvir-list mailing list