[libvirt] libvirt 0.8.7 tests failure on arm and ppc

Daniel Veillard veillard at redhat.com
Tue Feb 15 10:23:56 UTC 2011


On Tue, Feb 15, 2011 at 11:00:06AM +0100, Matthias Bolte wrote:
> 2011/2/15 Daniel Veillard <veillard at redhat.com>:
> >  I reproduced this on a ppc64 box (RHEL-6) and get:
> >
> > 122) QEMU XML-2-ARGV cpu-topology2                                     ... libvir: QEMU error : unsupported configuration: CPU specification not supported by hypervisor
> > FAILED
> > 123) QEMU XML-2-ARGV cpu-topology3                                     ... OK
> > 124) QEMU XML-2-ARGV cpu-minimum1                                      ... libvir: QEMU error : unsupported configuration: CPU specification not supported by hypervisor
> > FAILED
> > 125) QEMU XML-2-ARGV cpu-minimum2                                      ... libvir: QEMU error : unsupported configuration: CPU specification not supported by hypervisor
> > FAILED
> > 126) QEMU XML-2-ARGV cpu-exact1                                        ... libvir: QEMU error : unsupported configuration: CPU specification not supported by hypervisor
> > FAILED
> > 127) QEMU XML-2-ARGV cpu-exact2                                        ... libvir: QEMU error : unsupported configuration: CPU specification not supported by hypervisor
> > FAILED
> > 128) QEMU XML-2-ARGV cpu-strict1                                       ... libvir: QEMU error : unsupported configuration: CPU specification not supported by hypervisor
> > FAILED
> >
> >  I would guess it's related to tests/qemuxml2argvdata/qemu.sh
> > not "providing" the CPU wanted by the tests in the faked_cpu()
> >
> > Daniel
> >
> 
> Daniel, that's a different problem. Serge said that 6 out of the last
> 7 tests in 0.8.7 fail for him. These are hostdev-pci-address,
> restore-v1, restore-v2, restore-v2, migrate and qemu-ns-no-env. The
> tests that are failing for you were added after 0.8.7.

  ah right I tested the rc3 tarball !

> So we have two ARM/PPC related problems here.
> 
> Daniel. qemuxml2argvtest outputs the capabilities, does it contain a
> host/cpu element? Maybe the problem it that the CPU data decoding in
> libvirt is x86 specific as it relies on the CPUID command.

  The tests which fails are the ones where there is a <cpu match>
and a model is specified. Maybe something changed there, because
tests/qemuxml2argvdata/qemu.sh used emulate the faked cpu on boxes
where qemu isn't available but it seems to not be called any more
with "-cpu ?" and hence can't fake the supported CPU on those boxes.

Daniel


-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvir-list mailing list