smbios_table: make uuid check case insensitive
When `uuid = random`, avocado-vt will generate a uuid through
`/proc/sys/kernel/random/uuid`. This uuid contains digits and
lower letters. It will be passed to qemu cmdline as a option.
eg: -smbios type=1,manufacturer='Dell Inc.',product='PowerEdge R430',
uuid='4c4c4544-0050-4610-804c-b9c04f584d32',serial='9PFLXM2',
version='Not Specified',family='VIRT',sku='KVM' \
However, the guest uuid obtained from
`dmidecode -t 1 | grep UUID | sed 's/^.*://g'` contains digits
and capital letters, which causes mismatch for the verification.
Signed-off-by: NHaotong Chen <hachen@redhat.com>
Showing
想要评论请 注册 或 登录