aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorPaolo Bonzini <[email protected]>2019-11-18 12:23:01 -0500
committerPaolo Bonzini <[email protected]>2019-11-21 10:01:02 +0100
commitb07a5c53d42a8c87b208614129e947dd2338ff9c (patch)
tree55af2acf7fa441a712ec07162ef90661ebbc59a8 /scripts/gcc-plugins/cyc_complexity_plugin.c
parentc11f83e0626bdc2b6c550fc8b9b6eeefbd8cefaa (diff)
KVM: vmx: use MSR_IA32_TSX_CTRL to hard-disable TSX on guest that lack it
If X86_FEATURE_RTM is disabled, the guest should not be able to access MSR_IA32_TSX_CTRL. We can therefore use it in KVM to force all transactions from the guest to abort. Tested-by: Jim Mattson <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions