Re: kvm-unit-tests failures

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Il 04/08/2014 19:02, Chris J Arges ha scritto:
> All tests below are done with the kvm tip (fresh as of today) merged
> with 3.16-rc4.

Sorry, I had missed the list of failures.

> * Failures:
> - pmu
> As suggested in comment 2 on this bug:
> https://bugzilla.redhat.com/show_bug.cgi?id=1079796
> Adding the -cpu host allows this test to PASS.

Correct, I thought unittests.cfg already did that.

> - tsc_adjust
> Here again adding "-cpu host" allows this to pass.

Looks like QEMU doesn't know the tsc_adjust flag at all.  CCing Eduardo.

> - pcid
> Here again adding "-cpu host" allows this to pass.

It passes here, and fails with "-cpu host":

PASS: CPUID consistency
FAIL: Test on PCID when enabled
PASS: Test on INVPCID when disabled

Looks like the "Test on PCID when enabled" has problems, and the
-cpu flag is a red herring.

> - msr (HANG)
> ./x86-run x86/msr.flat -smp 1
> 
> $ sudo ./x86-run x86/msr.flat -smp 1qemu-system-x86_64 -enable-kvm
> -device pc-testdev -device isa-debug-exit,iobase=0xf4,iosize=0x4
> -display none -serial stdio -device pci-testdev -kernel x86/msr.flat -smp 1
> enabling apic
> enabling apic
> enabling apic
> 
> "enabling apic" repeats and adding -cpu host seems to have no effect.
> Interestingly enough on an Ubuntu 3.13 series kernel this PASSes.

The APICBASE register is already tested by the apic testcase, and the
simple-minded tests in msr.flat actually trigger a general protection
fault nowadays because the quality of the emulation improved.  I'm
dropping the APICBASE tests from msr.flat.

> - vmx (HANG)
> Test suite: interrupt
> PASS: direct interrupt while running guest
> PASS: intercepted interrupt while running guest
> PASS: direct interrupt + hlt
> 
> Here it just hangs.

It fails here for me.  It could be related to APICv, can you try with
the enable_apic=0 parameter to kvm-intel.ko?

Paolo
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux