From: Dor Laor <dlaor@redhat.com>
To: Anthony Liguori <aliguori@us.ibm.com>
Cc: qemu-devel@nongnu.org, Glauber Costa <glommer@redhat.com>,
Avi Kivity <avi@redhat.com>, Paul Brook <paul@codesourcery.com>
Subject: Re: autotest (was Re: [Qemu-devel] Re: [Qemu-commits] [COMMIT f80f9ec] Convert machine registration to use module initfunctions)
Date: Tue, 26 May 2009 12:17:56 +0300 [thread overview]
Message-ID: <4A1BB3C4.5090002@redhat.com> (raw)
In-Reply-To: <4A1BA408.5030400@us.ibm.com>
Anthony Liguori wrote:
> Avi Kivity wrote:
>> Anthony Liguori wrote:
>>> Autotest doesn't currently test the regressions that I want to test.
>>
>> Which regressions do you want to test?
>
> For instance, we often have networking regressions. In particular,
> with the refactoring going on in slirp and tun/tap, I'd really like to
> have an automated way to test slirp and tap with TCP transmit/receive,
> and slirp redir. I have something locally to do this that I intend on
> posting in the next few days.
>
Current kvm autotest do test slirp. The step-files for guest
installation open ssh/telnet access in order
to let the host reach them.
We trapped exactly this regression using autotest.
>>
>> One way to increase coverage is to require each patch (fix or
>> feature) to come with a test. On the other hand, it might stop
>> contributions instead of increasing test coverage.
>>
>> I've used this method for the x86 emulator in kvm, with some success.
>
> I wouldn't require kvm-autotest, but I'd like to have an interest set
> of unit tests that are then usable within kvm-autotest. Once we have
> that, asking politely for tests to be written I think is quite
> reasonable.
Some features are easily tested using a large framework, for example
migration, slirp, time drift, etc.
In addition kvm's tests unit tests, qemu-io and similar should be
written too in order to test various cases that
are only reasonable to be found using low level operations.
No doubt all of the unit tests should be executed from autotest.
>
> Regards,
>
> Anthony Liguori
>
next prev parent reply other threads:[~2009-05-26 9:19 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200905211348.n4LDmnYd025976@d01av04.pok.ibm.com>
2009-05-21 22:36 ` [Qemu-devel] Re: [Qemu-commits] [COMMIT f80f9ec] Convert machine registration to use module initfunctions Paul Brook
2009-05-21 22:50 ` Glauber Costa
2009-05-22 1:34 ` Anthony Liguori
2009-05-22 1:49 ` Glauber Costa
2009-05-22 2:00 ` Anthony Liguori
2009-05-23 14:22 ` autotest (was Re: [Qemu-devel] Re: [Qemu-commits] [COMMIT f80f9ec] Convert machine registration to use module initfunctions) Dor Laor
2009-05-24 19:46 ` Anthony Liguori
2009-05-24 20:50 ` Avi Kivity
2009-05-26 8:10 ` Anthony Liguori
2009-05-26 9:17 ` Avi Kivity
2009-05-26 9:17 ` Dor Laor [this message]
2009-05-26 9:30 ` Anthony Liguori
2009-05-26 9:54 ` Dor Laor
2009-05-22 1:21 ` [Qemu-devel] Re: [Qemu-commits] [COMMIT f80f9ec] Convert machine registration to use module initfunctions Anthony Liguori
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=4A1BB3C4.5090002@redhat.com \
--to=dlaor@redhat.com \
--cc=aliguori@us.ibm.com \
--cc=avi@redhat.com \
--cc=glommer@redhat.com \
--cc=paul@codesourcery.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).