[libvirt] [PATCH] openvzDomainCreateWithFlags: set domain id to the correct value
Matthias Bolte
matthias.bolte at googlemail.com
Fri Jul 30 12:25:18 UTC 2010
2010/7/30 Jean-Baptiste Rouault <jean-baptiste.rouault at diateam.net>:
> I'm not sure if it's ok or not to modify dom->id as I did here.
>
> Regards,
> Jean-Baptiste
>
I think this is a bug that needs to be fixed and the patch is correct.
After starting a domain it has to have a valid ID >= 0.
I'm currently checking the other drivers, and the ESX and XenAPI
drivers are affected too.
The QEMU driver is also affected, but because it's always tunneled
through the remote driver and the remote driver isn't affected, this
problem doesn't surface for the QEMU driver. The same is true for the
LXC, UML and ONE drivers.
Matthias
More information about the libvir-list
mailing list