[Kimchi-devel] [PATCH 0/4] Improve VM CPU update code

Crístian Deives cristiandeives at gmail.com
Mon Jun 29 17:21:20 UTC 2015


This patchset refactors part of the code related to updating VM CPUs.

I am aware of two tests which are failing with this patchset. They'll be worked
on before the final version.

Crístian Deives (4):
  Use locks to prevent concurrent updates to VMs
  Update VCPU by using libvirt function
  Set max VCPU count to the max supported value
  Check if the VM update params are valid for the current state

 src/kimchi/i18n.py      |  3 ++-
 src/kimchi/mockmodel.py | 48 ++++++++++++++------------------------
 src/kimchi/model/vms.py | 62 ++++++++++++++++++++++++++++++++++++++-----------
 tests/test_rest.py      |  3 ++-
 4 files changed, 71 insertions(+), 45 deletions(-)

-- 
2.4.3




More information about the Kimchi-devel mailing list