• QEMU's instance_init() vs. realize()

    Note that this is a blog post for (new) QEMU developers. If you are just interested in using QEMU, you can certainly skip this text. Otherwise, in case you have ever been in touch with the QEMU device model (“qdev”), you are likely aware of the basic qdev code boilerplate...

  • How to use Fedora 27 s390x ISO images with KVM

    When you are trying to install a s390x Fedora 27 (or RHEL 7.4) KVM guest on an IBM z Systems mainframe by using one of the provided ISO DVD images (e.g. Fedora-Server-dvd-s390x-27-1.6.iso), there are two pitfalls you should be aware of. The first problem is that QEMU’s firmware for the...

  • KVM with SELinux on a z/VM s390x machine

    When you are trying to start a KVM guest via libvirt on an s390x Linux installation that is running on an older version of z/VM, you might run into the problem that QEMU refuses to start with this error message: cannot set up guest memory 's390.ram': Permission denied. This happens...

  • Testing the edk2 SMM driver stack with QEMU, KVM & libvirt

    Laszlo wrote an article over at the edk2 wiki about testing SMM with OVMF, in QEMU/KVM virtual machines managed by libvirt: https://github.com/tianocore/tianocore.github.io/wiki/Testing-SMM-with-QEMU,-KVM-and-libvirt The primary goal of the article is to help rapid development and testing of SMM-related firmware code (or any edk2 code in general).

  • Controlling Open Firmware with -prom-env

    Open Firmware has a concept of environment configuration variables that are used to control the boot flow and other behavior of the firmware. On ppc64 systems, these variables are normally stored in the NVRAM of the machine (as defined in the LoPAPR specification, chapter 8.4.1.1, “System NVRAM Partition”), so that...

  • QEMU Advent Calendar 2016 starts

    The QEMU Advent Calendar 2016 website reveals a new disk image for download each day in December until 2016-12-24, to create a fun experience for the QEMU community, and to celebrate the 10th anniversary of KVM. Starting today, on December 1st, the first door of the advent calendar can now...

  • QEMU Advent Calendar 2016 website now online

    This year, we are celebrating the 10th anniversary of KVM (see Amit Sha’s article on LWN.net for more information), and the 25th anniversary of Linux, so to contribute to this celebration, Kashyap Chamarthy and I are preparing another edition of the QEMU Advent Calendar this year. The QEMU Advent Calendar...

  • GRUB 2 network booting with Open Firmware

    While it’s also possible to load single files via the Open Firmware interface already (by typing something like “boot net:” at the firmware prompt for example), you need a secondary boot loader like yaboot or GRUB 2 to handle more complex boot scenarios like loading both, kernel and an initrd....

  • Welcome to Thomas Huth's blog!

    Welcome to the blog of Thomas Huth. I’m working for Red Hat on various virtualization related Open Source software (mainly KVM, QEMU and SLOF on POWER machines), so you’ll find information related to these topics in this blog.