]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: SVM: Move EFER and MSR constants to generic x86 code
authorAlexander Graf <agraf@suse.de>
Tue, 25 Nov 2008 19:17:02 +0000 (20:17 +0100)
committerAvi Kivity <avi@redhat.com>
Tue, 24 Mar 2009 09:02:46 +0000 (11:02 +0200)
commit07c1c84af9a9e2b891c053477005ebe6fe94dbcd
tree3a9cd94334d419097923c5c4140770c17aa06cc8
parent5c0988d15566b8d6fe1cce9f4433fa97096cd1db
KVM: SVM: Move EFER and MSR constants to generic x86 code

MSR_EFER_SVME_MASK, MSR_VM_CR and MSR_VM_HSAVE_PA are set in KVM
specific headers. Linux does have nice header files to collect
EFER bits and MSR IDs, so IMHO we should put them there.

While at it, I also changed the naming scheme to match that
of the other defines.

(introduced in v6)

Acked-by: Joerg Roedel <joro@8bytes.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/include/asm/msr-index.h
arch/x86/include/asm/svm.h
arch/x86/include/asm/virtext.h
arch/x86/kvm/svm.c