]> git.karo-electronics.de Git - karo-tx-linux.git/commit
KVM: SVM: Allow setting the SVME bit
authorAlexander Graf <agraf@suse.de>
Tue, 25 Nov 2008 19:17:10 +0000 (20:17 +0100)
committerAvi Kivity <avi@redhat.com>
Tue, 24 Mar 2009 09:02:48 +0000 (11:02 +0200)
commit236de05553a7ef8f6940de8686ae9bf1272cd2cf
tree0e68d3d58ba9d0cc97add91205cb530bb5124298
parenteb6f302edff9da963e687bf6c15dcf88843b1c3b
KVM: SVM: Allow setting the SVME bit

Normally setting the SVME bit in EFER is not allowed, as we did
not support SVM. Not since we do, we should also allow enabling
SVM mode.

v2 comes as last patch, so we don't enable half-ready code
v4 introduces a module option to enable SVM
v6 warns that nesting is enabled

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/kvm/svm.c