Tuesday, 9 April 2013

QEMU Code Overview slides available

I recently gave a high-level overview of QEMU aimed at new contributors or people working with QEMU. The slides are now available here:

QEMU Code Overview (pdf)

Topics covered include:

  • External interfaces (command-line, QMP monitor, HMP monitor, UI, logging)
  • Architecture (process model, main loop, threads)
  • Device emulation (KVM accelerator, guest/host device split, hardware emulation)
  • Development (build process, contributing)

It is a short presentation and stays at a high level, but it can be useful for getting your bearings before digging into QEMU source code, debugging, or performance analysis.

Enjoy!

12 comments:

  1. Hey Stefan, do you have any video from this presentation??

    ReplyDelete
    Replies
    1. There is no video or audio available for this presentation.

      Delete
  2. nice work stefan!

    Any detailed document available? kindly share.

    ReplyDelete
    Replies
    1. If you'd like a more detailed look at KVM, Jan Kiszka's architecture presentation is excellent:
      http://www.linux-kongress.org/2010/slides/KVM-Architecture-LK2010.pdf

      You may also be interested in my blog posts on QEMU architecture:
      http://blog.vmsplice.net/2011/03/qemu-internals-big-picture-overview.html
      http://blog.vmsplice.net/2011/03/qemu-internals-overall-architecture-and.html
      https://docs.google.com/present/view?id=ddd4skf9_889dwbvkpc4

      Delete
  3. nice doc. it is very helpful for me.

    ReplyDelete
  4. This comment has been removed by a blog administrator.

    ReplyDelete
  5. Hi Stefan,
    I want to understand the disk IO in QEMU. Do you have any ideas or any links to recommend?

    ReplyDelete
    Replies
    1. Start with http://events.linuxfoundation.org/slides/2011/linuxcon-japan/lcj2011_hajnoczi.pdf which explains the concepts. From there, if you want to do development, check out the QEMU source code.

      If you have general technical questions, please send them to qemu-devel@nongnu.org.

      Delete
  6. I regret so much not finding your blog in the first place when I start developing QEMU for my master thesis. This is a very very useful blog for QEMU you have.

    I have just started a blog about what I found in QEMU. If you have some free time, would you stop by my blog to see whether my understanding is correct or not? I will be very appreciated.
    http://fulcronz27.wordpress.com/

    Looking forward to see your future posts : )

    ReplyDelete
  7. Hi Stefan,
    I am working on virtio and qemu ,I have a question to you that how user data is pass from guest os to hypervisor through qemu ?? Can you say me the path...??

    ReplyDelete
    Replies
    1. Please email the QEMU mailing list at qemu-devel@nongnu.org and be more specific about what you are trying to achieve.

      Delete