On Tue, May 01, 2007 at 01:30:23PM -0400, Hugh Brock wrote:
> +if (!(olddomain = virGetDomain(conn, value->str, uuid)))
> +goto error;
> +
> +if (olddomain->id != -1) {
> +xenXMError(conn, VIR_ERR_INTERNAL_ERROR, "can't overwrite an
> active domain");
> +
Hugh Brock wrote:
virDomainDefineXML should overwrite an existing inactive domain config
if it finds one; it does this successfully for later (post 3.0.3) xen
versions. However on xen 3.0.3 overwriting an existing config would fail
with a name conflict. This patch allows the overwrite, removing
virDomainDefineXML should overwrite an existing inactive domain config
if it finds one; it does this successfully for later (post 3.0.3) xen
versions. However on xen 3.0.3 overwriting an existing config would fail
with a name conflict. This patch allows the overwrite, removing the
prior config