Il 25/02/2014 12:23, Jan Kiszka ha scritto:
> even though OVMF sets the accessed/dirty bits so it's not exactly the same
> scenario.
>
> Note that NPT simply does not support this. Page tables must be writable
> in the NPT page tables, according to the AMD manual.
We could still emulate the instruction in such a case to get beyond the
write fault. Slow but more correct, I suppose.
They must be writable always, even if A=D=1. So the only solution would
be to emulate everything that puts page tables in ROMs, which is really
too slow to be viable. We're really talking 50-100 times slower than
bare metal.
Paolo
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html