]> git.ipfire.org Git - thirdparty/libvirt.git/commit
openvzDomainCreateWithFlags: set domain id to the correct value
authorJean-Baptiste Rouault <jean-baptiste.rouault@diateam.net>
Fri, 30 Jul 2010 08:36:06 +0000 (10:36 +0200)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Fri, 30 Jul 2010 20:25:32 +0000 (22:25 +0200)
commitfd81a097298c64870c78beff5615319b9f86e895
treefddea0208da002085f286a6db9b7f236c54948c2
parent549b839960a832ee6887a6d773e4346c53a07569
openvzDomainCreateWithFlags: set domain id to the correct value

When an openvz domain is defined with virDomainDefineXML,
domain id is set to -1. A call to virDomainGetInfo after
starting the domain would then fail because this invalid
id is passed to openvzGetProcessInfo.
src/openvz/openvz_driver.c