x86/msr: Expose MSR_ARCH_CAPS in the raw and host policies
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 11 Jun 2021 10:37:53 +0000 (11:37 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 15 Jun 2021 19:50:32 +0000 (20:50 +0100)
commitb672695e748869b2e2e2cb03f671f12003d2b079
tree12c86818ea2d16370b18dfd6840383e4313b41cc
parent3ccaa174faeb8fbd68f79c670e32c6689cfc7ffc
x86/msr: Expose MSR_ARCH_CAPS in the raw and host policies

MSR_ARCH_CAPS is still not supported for guests yet (other than the hardware
domain), until the toolstack learns how to construct an MSR policy.

However, we want access to the host ARCH_CAPS_TSX_CTRL value in particular for
testing purposes.

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