qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@web.de>
To: Lucas Meneghel Rodrigues <lmr@redhat.com>
Cc: Anthony Liguori <aliguori@codemonkey.ws>,
	Marcelo Tosatti <mtosatti@redhat.com>,
	QEMU devel <qemu-devel@nongnu.org>, Avi Kivity <avi@redhat.com>
Subject: Re: [Qemu-devel] Preliminary results of unit testing on qemu.git
Date: Sat, 27 Aug 2011 11:16:14 +0200	[thread overview]
Message-ID: <4E58B5DE.8080108@web.de> (raw)
In-Reply-To: <4E5810B2.4030008@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 1932 bytes --]

On 2011-08-26 23:31, Lucas Meneghel Rodrigues wrote:
> Hi folks,
> 
> I've recently sent a patch porting the -testdev device from qemu-kvm.git
> 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 :))
> 
> 
> We had a fair number of failures. Right now, avi's kernel + qemu-kvm.git
> 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.
> 
>> 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


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

  reply	other threads:[~2011-08-27  9:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-26 21:31 [Qemu-devel] Preliminary results of unit testing on qemu.git Lucas Meneghel Rodrigues
2011-08-27  9:16 ` Jan Kiszka [this message]
2011-08-27 11:27   ` Jan Kiszka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E58B5DE.8080108@web.de \
    --to=jan.kiszka@web.de \
    --cc=aliguori@codemonkey.ws \
    --cc=avi@redhat.com \
    --cc=lmr@redhat.com \
    --cc=mtosatti@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).