[libvirt] [RFC PATCH v2 0/4] Libvirt for PowerPC

Prerna Saxena prerna at linux.vnet.ibm.com
Mon Nov 14 14:43:55 UTC 2011


Hi,
Recent development in KVM for 64-bit Power ISA Book3S machines, allows
users to run multiple KVM guest instances on POWER7 and PPC970
processor based systems.  Also qemu-system-ppc64 has been enhanced to
support a new machine type "pseries" suitable for Power Book3S machines.
This addition effectively brings the KVM+qemu combination to run
multiple guest instances on a Power Book3S machine.

Libvirt continues to be the key interface to configure and manage the
KVM guest instances on x86.  This patch set is an effort to enable
libvirt to support KVM guest configuration and management on Power Book3S
machines.

Based on community discussion around the earlier version, this patch
series augments the present 'kvm' driver to support PowerPC-KVM based
guests. Since some of the supported devices vary between architectures,
the code is now reworked to dynamically choose the correct handler
function based on guest domain architecture at runtime (def->os.arch).

This patch series consists of 4 patches :
Patch 1/4 : Use sysfs to gather host topology. Presently libvirt 
            depends on /proc/cpuinfo gather CPU, cores, threads, etc
            This is highly architecture dependent. A alternative is
            to use sysfs, which provides a platform-neutral interface
            to parse CPU topology.
Patch 2/4 : Add PowerPC CPU Driver
Patch 3/4 : Add support for qemu-system-ppc64
Patch 4/4 : Refactor qemu commmand-line generation to separate out arch-
            specific options from generic command line.

Changelog from v1:
* Patches 1,2,3 unchanged ; The hacks in Patch 4 of v1 have been
  replaced by a new patch to neatly select arch-specific features.

Awaiting comments and feedback,
-- 
Prerna Saxena

Linux Technology Centre,
IBM Systems and Technology Lab,
Bangalore, India




More information about the libvir-list mailing list