> VMware handles kernel code. You are right that x86 code can't be 100% > virtualized > (even at the userland level) but VMware uses a lot of nasty disgusting tricks > in order to work around them. (For example, playing with shadow pagetables > so that a page of modified code is run but if the code tries to inspect itself > it sees another (unexecuted) page that contains the original code.)
I take it self-modifying kernel code would have serious issues. I seem to recall my attempts to run v2OS (which uses a self-modifying assembly code boot sequence) inside VMWare crashing badly circa 2001. -Karl _______________________________________________ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel