
11 Mar
2015
11 Mar
'15
2:40 p.m.
Reviewed-by: Daniel Barboza <dhbarboza82@gmail.com> On 03/09/2015 10:52 AM, lvroyce@linux.vnet.ibm.com wrote:
From: Royce Lv <lvroyce@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(-)