Please note that User Registration has been temporarily disabled due to a recent increase in automated registrations. If anyone needs an account, please request one here: RequestAccount. Thanks for your patience!--Wmat (talk)
Please email User:Wmat if you experience any issues with the Request Account form.

Difference between revisions of "QEMU"

From eLinux.org
Jump to: navigation, search
(add link to ELFS presentation)
Line 8: Line 8:
  
 
[http://www.qemu.org Qemu project web site]
 
[http://www.qemu.org Qemu project web site]
 +
 +
= Use in embedded projects =
 +
QEMU is increasingly used to provide an emulator for embedded processors, for testing
 +
embedded Linux without the need for actual hardware.
 +
 +
The [http://free-electrons.com/docs/elfs/ Embedded Linux From Scratch] presentation by Michael Opdenacker
 +
has great information about setting up QEMU with embedded Linux.
 +
 +
Also, [http://impactlinux.com/fwl/ Firmware Linux] uses QEMU as part of a "native" build environment to
 +
eliminate cross-compilation problems when building for Embedded Linux distributions for non-X86 platforms.
  
 
= Supported architectures =
 
= Supported architectures =
Line 25: Line 35:
 
* [http://tuxology.net/2008/12/14/embedded-emulator/ Building an embedded Linux system emulator using Qemu]
 
* [http://tuxology.net/2008/12/14/embedded-emulator/ Building an embedded Linux system emulator using Qemu]
 
* [http://vm-kernel.org/blog/2008/12/15/linux-is-running-on-qemu-omap3/ QEMU for OMAP3] ([[BeagleBoard]])
 
* [http://vm-kernel.org/blog/2008/12/15/linux-is-running-on-qemu-omap3/ QEMU for OMAP3] ([[BeagleBoard]])
 
The [http://free-electrons.com/docs/elfs/ Embedded Linux From Scratch] presentation by Michael Opdenacker
 
has great information about setting up QEMU with Linux.
 

Revision as of 18:12, 5 February 2009

Introduction

QEMU is a generic and open source machine emulator and virtualizer, originally developed by Fabrice Bellard.

When used as a machine emulator, QEMU can run OSes and programs made for one machine (e.g. an ARM board) on a different machine (e.g. your own PC). By using dynamic translation, it achieves very good performances.

When used as a virtualizer, QEMU achieves near native performances by executing the guest code directly on the host CPU. A host driver called the QEMU accelerator (also known as KQEMU) is needed in this case. The virtualizer mode requires that both the host and guest machine use x86 compatible processors.

Qemu project web site

Use in embedded projects

QEMU is increasingly used to provide an emulator for embedded processors, for testing embedded Linux without the need for actual hardware.

The Embedded Linux From Scratch presentation by Michael Opdenacker has great information about setting up QEMU with embedded Linux.

Also, Firmware Linux uses QEMU as part of a "native" build environment to eliminate cross-compilation problems when building for Embedded Linux distributions for non-X86 platforms.

Supported architectures

The following architectures are supported as target architectures for system emulation:

  • x86
  • Arm
  • Sparc
  • PowerPC
  • MIPS
  • Coldfie

Resources