commit | e5eab0cede4b1ffaca4ad857d840127622038e55 | [log] [tgz] |
---|---|---|
author | Joerg Roedel <joerg.roedel@amd.com> | Tue Sep 09 19:11:51 2008 +0200 |
committer | Avi Kivity <avi@qumranet.com> | Thu Sep 11 11:39:25 2008 +0300 |
tree | 1471ba4a46298778271f1440b14a5f4e795bc291 | |
parent | 44874f84918e37b64bec6df1587e5fe2fdf6ab62 [diff] |
KVM: SVM: fix guest global tlb flushes with NPT 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>