]> git.ipfire.org Git - thirdparty/libvirt.git/commit
OpenVZ: take veid from vmdef->name when defining new domains
authorGuido Günther <agx@sigxcpu.org>
Sun, 28 Nov 2010 21:52:44 +0000 (22:52 +0100)
committerGuido Günther <agx@sigxcpu.org>
Tue, 30 Nov 2010 16:20:02 +0000 (17:20 +0100)
commit50a7c59bb30b95fd56cda34510f319f48f97f90e
tree879a5490586fd7e469952a7491a1be893c150127
parentabff683f78ffd01df5005fb7a457c0b38b8eb6e1
OpenVZ: take veid from vmdef->name when defining new domains

We currently use the next free veid although there's one given in the
domain xml. This currently breaks defining new domains since vmdef->name
and veid don't match leading to the following error later on:

    error: Failed to define domain from 110.xml
    error: internal error Could not set UUID

Since silently ignoring vmdef->name is not nice respect it instead. We
avoid veid collisions in the upper levels already.
src/openvz/openvz_driver.c