x86/hvm: Improve CPUID and MSR handling using named features
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 11 Jan 2017 11:59:02 +0000 (11:59 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 11 Jan 2017 11:59:02 +0000 (11:59 +0000)
commit7d7b5fac5b65c2e03ad694e8ab4169f1e56aebef
tree86af622c1c3b499a4e3023dd9ce2a695dfa3f434
parentc8edea93871a3b51b3a96cbbe8dbb96531b017c2
x86/hvm: Improve CPUID and MSR handling using named features

This avoids hvm_cpuid() recursing into itself, and the MSR paths using
hvm_cpuid() to obtain information which is directly available.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/hvm/hvm.c