hvmloader: add SMBIOS type 2 info for customized string
authorXin Li <xin.li@citrix.com>
Fri, 5 Apr 2019 08:16:16 +0000 (10:16 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 5 Apr 2019 08:16:16 +0000 (10:16 +0200)
commit704caeb93c52f70fd8db5b3dff39cae618bba87c
tree839b847b2a84e164506e6e066c690d067f2291f3
parenta668d7d29c7e5104ad9c1e4c8d5fcd381083437c
hvmloader: add SMBIOS type 2 info for customized string

Extend smbios type 2 struct to match specification, add support to
write it when customized string provided and no smbios passed in.

Signed-off-by: Xin Li <xin.li@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
tools/firmware/hvmloader/smbios.c
tools/firmware/hvmloader/smbios_types.h
xen/include/public/hvm/hvm_xs_strings.h