
29 May
2014
29 May
'14
8:31 a.m.
Reviewed-by: Crístian Viana <vianac@linux.vnet.ibm.com> On 28-05-2014 06:52, Zhou Zheng Sheng wrote:
In HostModel._get_vms_list_by_state(), it gets a list of domain objects and extracts the names, then it traverses the names and calls lookupByName(name) to get domain objects. This is redundant because it has a list of domain object already.
This patch fixes the problem.
Signed-off-by: Zhou Zheng Sheng <zhshzhou@linux.vnet.ibm.com>