Fixup: Handle cpu util failures on non implemented arch
Some of the cpu utils are not implemented yet for certain cpu arch yet due to which we would encounter below error, during the vt-bootstrap create_host_os_cfg(options) File ".../virttest/bootstrap.py", line 355, in create_host_os_cfg family = cpu.get_family() if hasattr(cpu, 'get_family') else None File ".../avocado/avocado/utils/cpu.py", line 188, in get_family raise NotImplementedError NotImplementedError Let's handle the same, additionaly populate the vendor information in the config only if available. Reported-by: NYanan Fu <yfu@redhat.com> Signed-off-by: NSatheesh Rajendran <sathnaga@linux.vnet.ibm.com>
Showing
想要评论请 注册 或 登录