x86/hvm: Dispatch cpuid_viridian_leaves() from guest_cpuid()
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)
commitf12e66e5a8fda49302bbb8882da198c4a0bbd9d7
tree9bcfef069316257fa15dc217577a8f46d6f217e6
parent736a48bf9339f672be9279180ceea7620241cdd7
x86/hvm: Dispatch cpuid_viridian_leaves() from guest_cpuid()

... rather than from the legacy path.  Update the API to match guest_cpuid(),
and remove its dependence on current.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Paul Durrant <paul.durrant@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/cpuid.c
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/viridian.c
xen/include/asm-x86/hvm/viridian.h