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)
commit9962d032bbff0268f22068787831405f8468c8b4
tree3a9cd94334d419097923c5c4140770c17aa06cc8
parentf0b85051d0f0891378a83db22c0786f1d756fbff
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