virttest.utils_misc: Smbios test support in kvm autotest

    this patch modify smbios_table, add smbios three smbios type
and machine type test(-M) support.
    you can run smbios_table using "-smbios type=0" "-smbios type=1"
or both of them in test,and you can run test using diff machine type.

Signed-off-by: Yunping Zheng <yunzheng@redhat.com>
Move cpu related functions together

move get_cpu_model function under other cpu related functions

Signed-off-by: Suqin Huang <shuang@redhat.com>
Update cpu_model related in utils_misc.py

1. add haswell/G5 model in get_cpu_model
2. drop duplicate in get_cpu_model()
3. add more cpu flag alias
4. remove use_default_cpu_model, and and auto_cpu_model judging, otherwise
   -cpu host cannot be used

Change from v1:
1. move get_cpu_model under other cpu related function is send with
   seperate patch
2. add G5 cpu model

Change from v2:
update host-os.cfg.sample not host-os

Signed-off-by: Suqin Huang <shuang@redhat.com>
move check_if_vm_vcpu_match() to utils_misc

Changelog From V1:
using logging instead of error.context in function

Signed-off-by: Xiaoqing Wei <xwei@redhat.com>
utils_misc: Update vendor name used in cpu_types

get_cpu_vendor will return intel, amd, ibm or unknown

Signed-off-by: Feng Yang <fyang@redhat.com>
Acked-by: Suqin Huang <shuang@redhat.com>
virttest.utils_misc: small bugs fix

Signed-off-by: Yiqiao Pu <ypu@redhat.com>