|
|
|
|
|
|
|
|
|
|
xen-devel
RE: [Xen-devel] no digit beginning name?
> In XendDomainInfo.py --> check_name() there is a restriction
> in place that a domain can not begin with a digit. If I
> comment out this check:
>
> if name[0] in string.digits:
> raise VmError('invalid vm name')
>
> ... I can start and stop a domain whose name starts with a
> digit just fine. Is there a reason this restriction is in place?
You can also manipulate domains by their domid, so I'm guess the test is
an attempt to avoid confusion. Preventing all-numeric names would be
more sensible -- can you post a fix.
Thanks.
Ian
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|