FWN/Beats/Virtualization

From FedoraProject

< FWN | Beats
Revision as of 22:03, 8 November 2009 by Dale (Talk | contribs)

Jump to: navigation, search


Contents

Virtualization

In this section, we cover discussion of Fedora virtualization technologies on the @fedora-virt and @libvirt-list lists.

Contributing Writer: Dale Bewley

Fedora Virtualization List

This section contains the discussion happening on the fedora-virt list.

Bridges

Andrés García asked[1]

[2]

[3] [4]

  1. http://www.redhat.com/archives/fedora-virt/2009-November/msg00002.html
  2. http://wiki.libvirt.org/page/Networking#Bridged_networking_.28aka_.22shared_physical_device.22.29
  3. https://fedorahosted.org/netcf/
  4. http://linux-kvm.com/content/netcf-silver-bullet-network-configuration

Libvirt List

This section contains the discussion happening on the libvir-list.

Node device enumeration with udev

Dave Allan posted[1] "a fully functional version of the node device udev[2] based backend, incorporating all the feedback from earlier revisions." "...I have also included a patch removing the DevKit backend."

Also see FWN#146 "Host Device Enumeration API"[3] for some coverage of the host device enumeration API.

  1. http://www.redhat.com/archives/libvir-list/2009-October/msg00731.html
  2. http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
  3. http://fedoraproject.org/wiki/FWN/Issue146#Host_Device_Enumeration_API

Rewrite of QEMU monitor handling

Daniel Berrange posted[1] a "patch series [which] rewrites the QEMU monitor handling almost completely.

The key theme here is to move from a totally synchronous way of interacting with the monitor, to a totally asynchronous way. This allows " Package-x-generic-16.pnglibvirt " to handle receipt & dispatch of asychronous events from QEMU. For example a notification of a disk-full error, or VM state change. In the process of doing this re-factoring I have also dropped in basic support/infrastructure for the JSON based monitor."

  1. http://www.redhat.com/archives/libvir-list/2009-October/msg00644.html

Libvirt QEMU driver thread safety rules

In a characteristically long and detailed post Daniel Berrange laid[1] donw the law on thread safety rules for the Qemu driver[2].

"This document describes how thread safety is ensured throughout the QEMU driver. The criteria for this model are:

  • Objects must never be exclusively locked for any pro-longed time
  • Code which sleeps must be able to time out after suitable period
  • Must be safe against dispatch asynchronous events from monitor"

Also see FWN#155 "Thread Safety for libvirtd Daemon and Drivers"[3]

  1. http://www.redhat.com/archives/libvir-list/2009-October/msg00815.html
  2. http://www.libvirt.org/drvqemu.html
  3. http://fedoraproject.org/wiki/FWN/Issue155#Thread_Safety_for_libvirtd_Daemon_and_Drivers