]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: SVM: do not intercept task switch with NPT
authorJoerg Roedel <joerg.roedel@amd.com>
Wed, 9 Apr 2008 14:04:32 +0000 (16:04 +0200)
committerAvi Kivity <avi@qumranet.com>
Sun, 27 Apr 2008 09:01:23 +0000 (12:01 +0300)
commite1b3406d9e2d57a2afc5160041859a5d79d62492
tree5420c89cbab3f70db4efbb0c4042cfb42a707115
parentf794aac9ac2dc9827ececf85be08bd3c2af69fc3
KVM: SVM: do not intercept task switch with NPT

When KVM uses NPT there is no reason to intercept task switches. This patch
removes the intercept for it in that case.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/svm.c