Joshua Boniface
3893666507
1. Remove a number of time.sleep commands which don't really seem necessary any longer and which significantly increased the startup time while parsing the VM list. 2. Handle some variable sets during initialization of the object, rather than waiting for a management command, enabling... 3. Know when a state change, and the corresponding Libvirt lookup, is unnecessary due to the target node not matching the current node. This also removes a number of unremovable errors from Libvirt on the console which were annoying. This reduces the total time taken by the VM startup segment (lines 760-762 of Daemon.py) from 17.117s down to 0.976s for 82 VMs. |
||
---|---|---|
.. | ||
pvcd | ||
pvcd.py | ||
pvcd.sample.yaml | ||
pvcd.service |