KVM: SVM: fix guest global tlb flushes with NPT
authorJoerg Roedel <joerg.roedel@amd.com>
Tue, 9 Sep 2008 17:11:51 +0000 (19:11 +0200)
committerAvi Kivity <avi@qumranet.com>
Thu, 11 Sep 2008 08:39:25 +0000 (11:39 +0300)
Accesses to CR4 are intercepted even with Nested Paging enabled. But the code
does not check if the guest wants to do a global TLB flush. So this flush gets
lost. This patch adds the check and the flush to svm_set_cr4.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>

No differences found