diff options
author | 2017-03-26 23:51:24 +0200 | |
---|---|---|
committer | 2017-04-07 16:49:00 +0200 | |
commit | 74f169090b6f36b867c9df0454366dd9af6f62d1 (patch) | |
tree | 6dd0f048d0e80397c72dc92ee490e19ba4266fa0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: nVMX: single function for switching between vmcs (diff) | |
download | linux-dev-74f169090b6f36b867c9df0454366dd9af6f62d1.tar.xz linux-dev-74f169090b6f36b867c9df0454366dd9af6f62d1.zip |
kvm/svm: Setup MCG_CAP on AMD properly
MCG_CAP[63:9] bits are reserved on AMD. However, on an AMD guest, this
MSR returns 0x100010a. More specifically, bit 24 is set, which is simply
wrong. That bit is MCG_SER_P and is present only on Intel. Thus, clean
up the reserved bits in order not to confuse guests.
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Joerg Roedel <joro@8bytes.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions