mohitnegi Posted October 21, 2013 Report Share Posted October 21, 2013 Hi All, I have few question regarding QEMU .... 1.What is QEMU and what is its use ...?? 2.Can QEMU be used for VP modeling ..if Yes then how ??? Annossyenudge 1 Quote Link to comment Share on other sites More sharing options...
ytakatsukasa Posted October 22, 2013 Report Share Posted October 22, 2013 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 System Emulator 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. Building QEMU is sometimes troublesome because of its dependencies on many libraries. 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. 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. mohitnegi, maehne and sumit_tuwien 3 Quote Link to comment Share on other sites More sharing options...
rahuljn Posted October 16, 2014 Report Share Posted October 16, 2014 Hi Guys Can anyone tell me how to write TLM wrapper on Qemu or any reference. Is TLMu 1.4.0 is stable enough for booting OS and running applications on it ? Thanks RahulJn Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.