• Borislav Petkov's avatar
    kvm/svm: Setup MCG_CAP on AMD properly · 74f16909
    Borislav Petkov authored
    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: default avatarBorislav 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: default avatarPaolo Bonzini <pbonzini@redhat.com>
    74f16909
svm.c 138 KB