|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH] Prevent xend from starting duplicate domains
Dan Smith wrote:
DH> Surely there's a race condition here? The hypervisor op that
DH> creates a domain has to fail if it would result in two domains
DH> with the same name;
With the same domid? Yes. Unless I'm completely missing something,
the hypervisor knows nothing of the *names* of the domains.
The hypervisor has no concept of domain names. That's entirely a Xend
construct. The same applies to UUIDs.
Even if there are two domains with the same name, they have different
domain IDs which is okay from the hypervisor's perspective.
Am I wrong?
DH> this can't be reliably enforced by a separate check in the Python
DH> tools.
Going on the assumption that the names are known only to the tools, I
think the tools are the best place to perform the check.
Regards,
Anthony Liguori
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|