Difference between revisions of "QEMU"
From IGEP - ISEE Wiki
Manel Caro (talk | contribs) |
Manel Caro (talk | contribs) |
||
Line 1: | Line 1: | ||
= '''QEMU on IGEP Boards''' = | = '''QEMU on IGEP Boards''' = | ||
− | [http://wiki.qemu.org/Main_Page '''QEMU'''] is a | + | [http://wiki.qemu.org/Main_Page '''QEMU'''] is a generic and open source machine emulator and virtualizer. |
+ | |||
+ | 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 performance. | ||
+ | |||
+ | When used as a virtualizer, QEMU achieves near native performances by executing the guest code directly on the host CPU. QEMU supports virtualization when executing under the Xen hypervisor or using the KVM kernel module in Linux. When using KVM, QEMU can virtualize x86, server and embedded PowerPC, and S390 guests. | ||
+ | |||
− | |||
== Build QEMU with IGEP support == | == Build QEMU with IGEP support == |
Revision as of 15:38, 10 January 2012
QEMU on IGEP Boards
QEMU is a generic and open source machine emulator and virtualizer.
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 performance.
When used as a virtualizer, QEMU achieves near native performances by executing the guest code directly on the host CPU. QEMU supports virtualization when executing under the Xen hypervisor or using the KVM kernel module in Linux. When using KVM, QEMU can virtualize x86, server and embedded PowerPC, and S390 guests.
Build QEMU with IGEP support
Download QEMU sources from linaro git repository:
$ git clone git://git.linaro.org/qemu/qemu-linaro.git
Download IGEP support patch for QEMU from this link and after that apply the patch as:
$ cd qemu-linaro
$ patch -p1 < 0001-IGEP_QEMU_support.path
Configure the sources for build with this command:
$ ./configure --target-list=arm-softmmu --prefix=/opt/qemu-linaro
Build the sources:
$ make
Install QEMU:
$ make install
Optionally you can download from here the QEMU binaries.
Board Emulation
./qemu-system-arm -M igep -m 512 -clock unix -serial stdio -drive file=/home/mcaro/Projects/myigep/workspace/igep-dsp-gst-framework/igep-ubuntu-desktop.img,if=sd,cache=writeback -usb -usbdevice host:usb.1:80ee:cafe -monitor telnet:localhost:7100,server,nowait,nodelay