Bug Fix Advisory libvirt bug fix and enhancement update

Advisory: RHBA-2008:0291-5
Type: Bug Fix Advisory
Severity: N/A
Issued on: 2008-05-21
Last updated on: 2008-05-21
Affected Products: RHEL Desktop Multi OS (v. 5 client)
RHEL Virtualization (v. 5 server)
OVAL: N/A

Details

Updated libvirt packages that fix several bugs and add enhancements are now
available.

Libvirt is a C toolkit to interact with the virtualization capabilities of
recent versions of Linux, and other operating systems.

These updated packages fix the following bugs:

* running the "virsh attach-disk" or "virsh attach-interface" commands on
an inactive domain caused a segmentation fault.

* the "virsh vcpupin" command did not return an error when the vcpu
argument was not a number. For example, running the "virsh vcpupin [domain]
a1 [cpulist]" command, caused virtual CPU 0 to be used instead of returning
an error.

* the "virt-install" command hanged in an endless loop when 32 or more
network interface cards were specified as a parameter using the "--network"
option.

* it was not possible to create a domain using the "--hvm" and "--cdrom"
options. For example, running the "virt-install" command with the "--hvm"
and "--cdrom" options caused the following errors:

libvir: Xen error : Domain not found: xenUnifiedDomainLookupByUUID
libvir: Xen error : Domain not found: xenUnifiedDomainLookupByName
Creating domain...
virDomainDefineXML() failed

This has been resolved in these updated packages.

* attempting to attach a disk to an active domain using the "virsh
attach-disk" command caused the following error:

libvir: Xen Daemon error : POST operation failed:
(xend.err'device_configure () takes exactly 2 arguments (3 given)')

This has been resolved in these updated packages.

As well, these updated packages add the following enhancements:

* in previous versions of libvirt, it was not possible to specify physical
CPU affinity at creation time. This information was not stored permanently.
These updated packages allow you to specify CPU affinity information in the
domain XML definition file, and this information is also provided when
saving a domain XML definition file. This is useful for systems using the
NUMA architecture.

* libvirt now has support for NUMA. New APIs are provided, and the virsh
"freecell" command allows you to check the available heap memory of NUMA
cells. The virsh "capabilities" command can be used to expose NUMA topology
on systems using the NUMA architecture.

* in previous libvirt packages, it was only possible to set CPU
information, for example, CPU pinning, for the active domain. In these
updated packages, it is possible to set CPU information for inactive
domains.

* support for USB tablet has been added, which improves fully virtualized
mouse behavior.

* new APIs which improve libvirt monitoring support have been added. These
new APIs provide statistics for block and interface devices. Use the virsh
"domblkstat" and "domifstat" commands to view this information.

Users of libvirt are advised to upgrade to these updated packages, which
resolve these issues and add these enhancements.


Solution

Before applying this update, make sure that all previously-released
errata relevant to your system have been applied.

This update is available via Red Hat Network. Details on how to use
the Red Hat Network to apply this update are available at
http://kbase.redhat.com/faq/FAQ_58_10188

Updated packages

RHEL Desktop Multi OS (v. 5 client)

SRPMS:
libvirt-0.3.3-7.el5.src.rpm     5375f7846522ab4d5286908cf5528795
 
IA-32:
libvirt-0.3.3-7.el5.i386.rpm     3d96954f7cb1317f3ccd6a098743ff57
libvirt-devel-0.3.3-7.el5.i386.rpm     6a371da99c201cab60d0bc2a09fac005
libvirt-python-0.3.3-7.el5.i386.rpm     9fba7650d9a288a22187a3311f5068da
 
x86_64:
libvirt-0.3.3-7.el5.i386.rpm     3d96954f7cb1317f3ccd6a098743ff57
libvirt-0.3.3-7.el5.x86_64.rpm     2420d9d803972833db91f6623b117655
libvirt-devel-0.3.3-7.el5.i386.rpm     6a371da99c201cab60d0bc2a09fac005
libvirt-devel-0.3.3-7.el5.x86_64.rpm     f1a9c3e1566ceec6832c7b1f2e53cb55
libvirt-python-0.3.3-7.el5.x86_64.rpm     f37750adbf0be9a0283cc969b8d8a4b6
 
RHEL Virtualization (v. 5 server)

SRPMS:
libvirt-0.3.3-7.el5.src.rpm     5375f7846522ab4d5286908cf5528795
 
IA-32:
libvirt-0.3.3-7.el5.i386.rpm     3d96954f7cb1317f3ccd6a098743ff57
libvirt-devel-0.3.3-7.el5.i386.rpm     6a371da99c201cab60d0bc2a09fac005
libvirt-python-0.3.3-7.el5.i386.rpm     9fba7650d9a288a22187a3311f5068da
 
IA-64:
libvirt-0.3.3-7.el5.ia64.rpm     1a3bdc3ed89c86003358af704ab5c027
libvirt-devel-0.3.3-7.el5.ia64.rpm     e333a444a5057eaf9a55a47b8ac0290f
libvirt-python-0.3.3-7.el5.ia64.rpm     83539261048b7cddc7e67e648207d6c6
 
x86_64:
libvirt-0.3.3-7.el5.i386.rpm     3d96954f7cb1317f3ccd6a098743ff57
libvirt-0.3.3-7.el5.x86_64.rpm     2420d9d803972833db91f6623b117655
libvirt-devel-0.3.3-7.el5.i386.rpm     6a371da99c201cab60d0bc2a09fac005
libvirt-devel-0.3.3-7.el5.x86_64.rpm     f1a9c3e1566ceec6832c7b1f2e53cb55
libvirt-python-0.3.3-7.el5.x86_64.rpm     f37750adbf0be9a0283cc969b8d8a4b6
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

273421 - [5.2] virt-install hangs up when 32 NICs or more are specified as --network option
287811 - libvirt: fix segmentation fault when buffer needs to be reallocated
328841 - [5.2]Cannot create the HVM domain using CD-ROM device because virDomainDefineXML() fails.
346281 - [5.2] Disk cannot be attached by using virsh attach-disk.
426324 - libvirt mis-detects hypervisor version for NUMA apis
431723 - ssh remote connection errors with "Cannot allocate memory"
433451 - Can't start second guest via virt-manager while using shared block devices



These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/