From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:46574) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QxF02-0004e5-Q9 for qemu-devel@nongnu.org; Sat, 27 Aug 2011 05:16:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QxF01-00085w-LK for qemu-devel@nongnu.org; Sat, 27 Aug 2011 05:16:22 -0400 Received: from fmmailgate01.web.de ([217.72.192.221]:34531) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QxF01-00085e-8u for qemu-devel@nongnu.org; Sat, 27 Aug 2011 05:16:21 -0400 Message-ID: <4E58B5DE.8080108@web.de> Date: Sat, 27 Aug 2011 11:16:14 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <4E5810B2.4030008@redhat.com> In-Reply-To: <4E5810B2.4030008@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig8D105B571EF6D5B7251CAE8B" Sender: jan.kiszka@web.de Subject: Re: [Qemu-devel] Preliminary results of unit testing on qemu.git List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Lucas Meneghel Rodrigues Cc: Anthony Liguori , Marcelo Tosatti , QEMU devel , Avi Kivity This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig8D105B571EF6D5B7251CAE8B Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2011-08-26 23:31, Lucas Meneghel Rodrigues wrote: > Hi folks, >=20 > I've recently sent a patch porting the -testdev device from qemu-kvm.gi= t > to qemu.git, and I went ahead and started running the unittests on > qemu.git. It's still not integrated to our test grid, I just ran it in > my laptop, which runs a fairly recent linux 3.0 kernel (which in Fedora= > 15 they are calling 2.6.40 :)) >=20 >=20 > We had a fair number of failures. Right now, avi's kernel + qemu-kvm.gi= t > only yields an apic failure, Not for me. Or did you run the test with -no-kvm-irqchip (see below)? > so I guess we need to start investigating > the failures. If we are going to get qemu-kvm and qemu to merge > eventually we need to sort out all the issues. >=20 >> 08/26 17:12:39 ERROR| kvm:0102| Test failed: TestFail: Unit >> tests failed: apic vmexit access hypercall idt_test msr sieve xsave >> svm kvmclock_test apic: First error is related to user space APIC exposing a different version than the in-kernel APIC. The version is coupled to the CPU model, but neither KVM nor QEMU get this right so far. I think we already had complaints about the too old version QEMU returns but no patches to fix it properly. Then there is a self-ipi issue under KVM but not TCG (or in-kernel irqchip), need to look closer. Also affects eventinj. Finally, this test stumbles over the bogus isa_get_irq in testdev. sieve: Works but takes a bit longer under TCG. svm: Can't test with KVM on Intel, shows one bug and a lockup in TCG mode. All others mentioned above work fine with KVM but have issues under TCG. I had a brief look at the obvious cases: kvmclock_test: Can't work as we do not emulate the PV clock in TCG mode. access: Can't work as TCG's x86 model ignores segment limits (long-known limitation). The others are likely bugs/shortcomings in the TCG model. Jan --------------enig8D105B571EF6D5B7251CAE8B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk5YteIACgkQitSsb3rl5xRA7ACeIhUf84Rajly4QbDwhdGXa2uc YBwAn2blbDMgtgTktEbByvgbdzJfMKLW =Baxv -----END PGP SIGNATURE----- --------------enig8D105B571EF6D5B7251CAE8B--