KVM: SVM: Make Use of the generic guest-mode functions
authorJoerg Roedel <joerg.roedel@amd.com>
Mon, 29 Nov 2010 16:51:48 +0000 (17:51 +0100)
committerAvi Kivity <avi@redhat.com>
Wed, 12 Jan 2011 09:30:06 +0000 (11:30 +0200)
commit2030753de70a8aed39543ed09c2360665b3af481
treedb9974733e876b8c430739c7ab9f9dfda27acf33
parentec9e60b21977007e3dfacc2b8fe3a8fbb9276b51
KVM: SVM: Make Use of the generic guest-mode functions

This patch replaces the is_nested logic in the SVM module
with the generic notion of guest-mode.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/svm.c