[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] Prevent xend from starting duplicate domains



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.

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.

-- 
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: danms@xxxxxxxxxx


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.