tools/libxc: Use x86_cpuid_lookup_vendor() rather than opencoding the logic
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 20 Mar 2019 14:56:15 +0000 (14:56 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 27 Mar 2019 14:45:47 +0000 (14:45 +0000)
commit1c2c9f85dd36bd908441b37ab73172358509c9b5
tree0b8528b627b58519931c3a5d453e92774f323673
parent00b4f4d0fb75dc183b499e78d1abcb865dbc30d7
tools/libxc: Use x86_cpuid_lookup_vendor() rather than opencoding the logic

This doesn't address any of the assumptions that "anything which isn't AMD is
Intel".  This logic is expected to be replaced wholesale with libx86 in the
longterm.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
tools/libxc/xc_cpuid_x86.c