QEMU: Difference between revisions

 
==Operating modes==
 
===User emulation==
 
User emulation mode emulates a target CPU (always using the Tiny Code Generator), and additionally a given system call ABI (usually Linux), allowing programs from another architecture to run as if they are native applications (in most cases). This is useful for poking around embedded Linux firmware, for instance
 
===System emulation===
System emulation mode (known also as <code>softmmu</code>) emulates an entire computer system, including peripherals. As mentioned above, it is capable of booting practically all major operating systems. By default, system emulation uses the Tiny Code Generator (TCG), which is generally slower (although faster than Bochs, at a cost of accuracy) - it should only be used if:
 
*The host server does not have KVM/virtualization enabled.