
10 Mar
2015
10 Mar
'15
6:23 p.m.
Reviewed-by: Aline Manera <alinefm@linux.vnet.ibm.com> On 09/03/2015 10:52, 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(-)