KVM: SVM: Implement LBRV virtualization

Joerg Roedel
2008-02-12T15:27:07Z

This little patchset implements virtualization of the Last Branch Record
feature (LBRV) into the KVM-AMD module where this is available in hardware. For
every non-LBRV capable hardware it only enables access to the 5 LBR MSRs. Without
this access Windows XP 64 bit crashes in the installation routine.

Joerg

diffstat:

arch/x86/kvm/kvm_svm.h | 2 +
arch/x86/kvm/svm.c | 125 ++++++++++++++++++++++++++++++++----------------
2 files changed, 86 insertions(+), 41 deletions(-)