[Kimchi-devel] [kimchi-devel][PATCH 0/2] Fix vcpu updating

lvroyce at linux.vnet.ibm.com lvroyce at linux.vnet.ibm.com
Mon Mar 9 13:52:19 UTC 2015


From: Royce Lv <lvroyce at linux.vnet.ibm.com>

vcpu validation need to be checked when both updating cpu topology
and cpu count only. This patch fix this case and its tests.

Royce Lv (2):
  Fix update vcpu count: Check available vcpu count before update
  Ignore cpu test case when exceed host cpu count

 src/kimchi/model/cpuinfo.py   |  8 +++++--
 src/kimchi/model/templates.py |  7 +++---
 tests/test_model.py           | 54 ++++++++++++++++++++++++++++---------------
 tests/utils.py                |  5 ++++
 4 files changed, 51 insertions(+), 23 deletions(-)

-- 
1.9.1




More information about the Kimchi-devel mailing list