diff options
| author | Sean Christopherson <[email protected]> | 2020-03-02 15:56:36 -0800 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2020-03-16 17:58:19 +0100 |
| commit | d64d83d1e026f9fea9c8f18bf97b9529f7e4189c (patch) | |
| tree | bc55b1c90c86ca208d7cbafc4928f8978cfe3332 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
| parent | e574768f841ba600009da06b3027d9413dba868f (diff) | |
KVM: x86: Handle PKU CPUID adjustment in VMX code
Move the setting of the PKU CPUID bit into VMX to eliminate an instance
of the undesirable "unsigned f_* = *_supported ? F(*) : 0" pattern in
the common CPUID handling code. Drop ->pku_supported(), CPUID
adjustment was the only user.
Note, some AMD CPUs now support PKU, but SVM doesn't yet support
exposing it to a guest.
No functional change intended.
Reviewed-by: Vitaly Kuznetsov <[email protected]>
Signed-off-by: Sean Christopherson <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions