2010/7/30 Jean-Baptiste Rouault <jean-baptiste.rouault(a)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