KVM: x86: Wrong assertion on paging_tmpl.h
authorNadav Amit <namit@cs.technion.ac.il>
Tue, 30 Sep 2014 17:49:18 +0000 (20:49 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 24 Oct 2014 11:30:37 +0000 (13:30 +0200)
commit1715d0dcb0d4231983f1580e265c748cd3371f55
treee3778bc2092b50269a0f8ad68759068ae48a8b77
parent3d32e4dbe71374a6780eaf51d719d76f9a9bf22f
KVM: x86: Wrong assertion on paging_tmpl.h

Even after the recent fix, the assertion on paging_tmpl.h is triggered.
Apparently, the assertion wants to check that the PAE is always set on
long-mode, but does it in incorrect way.  Note that the assertion is not
enabled unless the code is debugged by defining MMU_DEBUG.

Signed-off-by: Nadav Amit <namit@cs.technion.ac.il>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/paging_tmpl.h