On Wed, Sep 14, 2005 at 01:46:58PM -0500, Anthony Liguori wrote: > You can't readahead beyond a basic block. Taking a trap for each basic > block and translating the block is what QEMU does. >
No, QEMU translates everything from guest machine code into its internal codes. I'm talking about using read ahead to change only those instructions which cause problems, and replacing them with instructions that are from the same instruction set I suppose you could call that emulation in a sense (as ur emulating the problematic instructions with other ones that create the behavior you need) but it is not the same as what QEMU currently does. Of course, VMware also emulates hardware, but you'd have to do that no matter what technique you use and it is a separate issue from emulation vs translation vs virtualization. (Theoretically VMware could just use a HAL layer like Xen does (or the newer plex86 did) and still be a virtualizer, but then it wouldn't work with unmodified guest OSes.) > Regards, > > Anthony Liguori -- Infinite complexity begets infinite beauty. Infinite precision begets infinite perfection. _______________________________________________ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel