Jump to content

Could anybody help me with QEMU ??


mohitnegi

Recommended Posts

Hi Mohit

 

1.What is QEMU and what is its use ...??

QEMU is an open source software mostly written in C. It emulates different architectures (ARM,MIPS, PPC, and more) from host and can run binaries on it.

So you can boot android for arm on x86 PC.

As far as I know the typical use cases of QEMU are

  1. System Emulator
  2. Frontend for Virtualization

As a system emulator, android sdk uses QEMU to boot android to let developer check the application on x86 pc not on arm development board. Xilinx Xynq development kit also uses QEMU to run the software for the FPGA on x86 pc.

For virtualization, QEMU is used to virtualize x86 pc on x86 pc (or arm on arm) with KVM or XEN.

 

 

2.Can QEMU be used for VP modeling ..if Yes then how ???

 

Shorter answer:

Yes, Green Socs and TLMu are famous project for it. Iguess there may be similar projects more.

 

Longer answer:

QEMU consists of many kinds of processor models and peripheral models, so many tried to use it with SystemC.

I also succeeded to boot arm linux on my customized TLMu( QEMU processor model + SystemC peripheral models).

 

IMHO QEMU has 3 difficulties for integrating with SystemC.

  1. Building QEMU is sometimes troublesome because of its dependencies on many libraries.
  2. QEMU is written in C with gtk-like object system and with so many global/static variables. It is tough to understand and modify the source code. Global variables prevent you from multi-instantiation.
  3. QEMU source code is always changing and its speed is fast. It will be a painful work to catch up with the mainline release after you fork QEMU.

QEMU is a really really useful software, actually I use it for virtualization and appreciate it. But honestly its source code is not something that I would love to recommend for learning material.

 

I hope you will find a cool way to integrate it with SystemC.

 

Regards,

Yutetsu.

Link to comment
Share on other sites

  • 11 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...