|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH] Prevent xend from starting duplicate domains
On 9/13/05, Dan Smith <danms@xxxxxxxxxx> wrote:
> The attached patch puts a simple check in domain_create() which
> prevents starting a domain if there is already one of the same name in
> the domain list.
>
> This fixes the problem of getting the following error message from xm
> while creating a domain soon after destroying one with the same name:
>
> xen.xend.XendProtocol.XendError: (3, 'No such process')
There is already a check for domains with the same name in
XendDomainInfo.check_name. We should fix that check instead of adding
another check. Could you try the attached patch which removes the
check if a domain "is terminated" and thus allows creation of a domain
with the same name?
It's arguable if this should be allowed or not, but if we allow it,
then we need to find the root cause of the error you're seeing...
christian
fix-name-check.patch
Description: Binary data
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|