As I added to the GitHub issue page
(
https://github.com/kimchi-project/kimchi/issues/306#issuecomment-33068988),
I don't think having a space in a VM's name is a problem. I am able to
create a VM named "hello world" using Kimchi and virsh.
We should not add a limitation like this one to Kimchi (i.e. restricting
the VM name) if there's not a real reason to.
Am 22-01-2014 19:01, schrieb Otavio R. Piske:
From: "Otavio R. Piske" <angusyoung(a)gmail.com>
Kimchi fails to start the guest OS if the user names it with spaces. As pointed in the
issue #306, other VM management interfaces prevent the user from creating a guest OS if
the name contain invalid characters.
This patch adds a validation logic that prevents the user from naming a Guest OS with
anything other than alphanumeric chars, '-', '.' or '_'.
Signed-off-by: Otavio R. Piske <angusyoung(a)gmail.com>