KVM Forum 2018 has ended
October 24-26, 2018 - Edinburgh, Scotland, UK
Click Here For Information & Registration
Back To Schedule
Friday, October 26 • 13:45 - 14:15
A Driver Framework for qtest - Laurent Vivier, Red Hat

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Unit tests for QEMU's virtual device currently are built upon the glib test framework. In order to ease the implementation of tests, QEMU provides the qtest protocol as well as a library of helper modules, libqos. libqos provides helper code for common device kinds (USB, PCI or virtio), but test needs to know how to start QEMU (machine type and parameters).

This talk will present an extension to libqos that wraps the glib test framework and augments it with knowledge of QEMU machine types and devices. Based on a description of the machines and devices, and on generic code to access the device, libqos generates all possible combinations of machines and architectures, and takes care of creating a "device object" for use in the tests.

This work was sponsored by Google, as part of GSoC, with mentoring from Laurent Vivier and Paolo Bonzini of Red Hat.

avatar for Laurent Vivier

Laurent Vivier

Senior Software Engineer, Red Hat
Laurent is contributing to QEMU and KVM since 2007, after a détour into the world of HPC, he has joined in 2015 the Red Hat Virtualization team, focusing his efforts on KVM for POWER.

Friday October 26, 2018 13:45 - 14:15 BST
Sidlaw Auditorium