Skip to content

Xen support upstreamed to QEMU

My name is Anthony Perard and I have been working on up-streaming Xen patches to the QEMU mainline. The good news is that the bulk of the changes for Xen are in the QEMU mainline as of yesterday.

Let me begin a year ago, when I started working on this project. The Xen codeline contained a fork of the QEMU code implementing a “xen” target within QEMU.  The drawback of using a “xen” specific target within the QEMU source tree, was that lots of QEMU code had to be duplicated, in effect increasing the maintenance burden on the QEMU project. Unsurprisingly the code as it was, wasn’t acceptable.

Thus we embarked on a project to rewrite the Xen QEMU code. The goal was to add Xen support to QEMU with the goal to avoid code duplication.  It has taken some time: but after several revisions of the patch series, the code has finally been accepted into the QEMU mainline. A lot of effort has been spent on ensuring the quality of the changes are very high straight from the outset. This is not the end of the road: some additional patches for PCI pass-through and support for VGA dirty bitmaps are still outstanding.

Xen support in QEMU will have advantages for the QEMU as well as the Xen community. First of all, the last year has brought the two communities closer together. Going forward we hope that there will be more collaboration and sharing of ideas. Of course for the Xen community there are also advantages using vanilla QEMU: we will have access to more functionality as it is developed, such as support for the Q35 chipset within QEMU, PCI express support, and others.

I am looking forward to working more on this in the future and also wanted to thank Alexander Graf for feedback and suggestions on QEMU patches.

Be Sociable and Share!

Posted in Community, Xen Development.

Tagged with , .

9 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

Continuing the Discussion

  1. В QEMU интегрированы наработки, созданные в рамках проекта Xen | – Всероссийский портал о UNIX-системах linked to this post on May 13, 2011

    [...] основную кодовую базу проекта QEMU принят набор патчей с изменениями, накопленными в рамках [...]

  2. Xen lets KVM overtake | VT Tech linked to this post on June 20, 2011

    [...] developer branch of Qemu also contains everything needed to support Xen guest systems which run by using the virtualisation capabilities [...]

  3. QEMU 0.15发布 linked to this post on August 11, 2011

    [...] 整合入 Xen 支持。 [...]

  4. QEMU 0.15 Released with Full Xen Support : - Virtualization Technology News and Information for Everyone linked to this post on August 11, 2011

    [...] guest hardware by both Xen and KVM hypervisors.  Version 0.15 now offers full Xen support. Anthony Perard explains on, saying:"It has taken some time: but after several revisions of [...]

  5. Emulator: Qemu 0.15 unterstützt mehr Prozessoren « linked to this post on August 11, 2011

    [...] x86-Emulation wurde um Xen-Unterstützung [...]

  6. QEMU 0.15 Released | TurboLinux Blog linked to this post on August 11, 2011

    [...] Xen support merged ( [...]

  7. QEMU 0.15 oferece suporte total para o Xen | Blog Seja Livre linked to this post on September 25, 2011

    [...] virtualização de desktop, também é usado para emular hardware de convidados pelo Xen (sistemas Guest) e soluções de virtualização KVM,  agora oferece suporte completo [...]

  8. PCI Passthrough in QEMU – linked to this post on July 16, 2012

    [...] blog post a year ago mentions that we had Xen support in QEMU, this was the first part needed to run a Xen [...]

You must be logged in to post a comment.