Alexander Graf wrote:
Using this patch it works. But if I read it correctly, that doesn't
actually fix anything but only treats NPT/EPT special, which it
shouldn't, should it?
The patch doesn't fix the bug but is nevertheless correct. cr4.pge only
matters to the mmu if using the shadow mmu; with tdp it only wastes
memory (and exposes the bug which you encountered).
So, wrt to the bug you saw, it's a workaround, but it's also a correct
fix for another bug.
Maybe this actually even breaks EPT?
It shouldn't.
I remember having seen a lot of CR4 hacks in svm.c when npt is enabled.
Maybe that is related?
No. cr4 controls the guest mmu, but with npt the guest mmu is
completely virtualized, so we need to ignore those bits.
--
error compiling committee.c: too many arguments to function
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html