Reviewed-by: Aline Manera <alinefm(a)linux.vnet.ibm.com>
On 09/03/2015 10:52, lvroyce(a)linux.vnet.ibm.com wrote:
From: Royce Lv <lvroyce(a)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(-)