From: Anthony Liguori <anthony@codemonkey.ws>
To: Paul Brook <paul@codesourcery.com>
Cc: Ryan Harper <ryanh@us.ibm.com>,
qemu-devel@nongnu.org, kvm@vger.kernel.org
Subject: Re: [Qemu-devel] [PATCH 1/2] Add qemu-test for automated testing
Date: Wed, 15 Oct 2008 23:25:56 -0500 [thread overview]
Message-ID: <48F6C254.20902@codemonkey.ws> (raw)
In-Reply-To: <200810152359.45542.paul@codesourcery.com>
Paul Brook wrote:
> On Wednesday 15 October 2008, Ryan Harper wrote:
>
>> This patch places the qemu-test framework and tests into the qemu source
>> tree. There are a number of components to this patch:
>>
>
> Is there any point having this in the qemu repository?
>
In tree unit testing. The ideal model would be to have something that
anyone could run via a "make check" that could confirm whether something
you've done introduces regressions in things you don't normally test.
> AFAICS it gains nothing from being "integrated" with qemu. It should work
> equally well with other hypervisors, and even real hardware.
>
If we're just talking about booting a guest, yeah, I agree. But even
the tests introduced here are validating specific QEMU features (like
migration). Ideally, this is the type of test that would be added.
Things like verifying that an emulated USB disk still works, that USB
hotplug works, that SCSI disks can be mounted in the guest, etc. If we
can find a place to host images, it could be automated in such a way
that images could be easily downloaded. This would be extremely good
for doing quick sniff tests of whether or not a change breaks SPARC
emulation (not that any of us ever do that :-)).
Basically, I think we all end up building this sort of infrastructure on
our own to be able to do testing so it's a good idea if we all work on
the same set of tests.
> I'm not saying this is a bad thing, just that is seems like it should be a
> separate project, and I'd be surprised if such projects don't already exist.
>
There are separate, more generic test programs like autotest that do
support QEMU (at least, KVM). The focus here is more QEMU specific
unit/regression testing.
Regards,
Anthony Liguori
> Paul
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
next prev parent reply other threads:[~2008-10-16 4:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-15 19:53 [Qemu-devel] [PATCH 0/2] Add qemu-test for automated testing Ryan Harper
2008-10-15 19:53 ` [Qemu-devel] [PATCH 1/2] " Ryan Harper
2008-10-15 22:59 ` Paul Brook
2008-10-16 4:25 ` Anthony Liguori [this message]
2008-10-15 19:53 ` [Qemu-devel] [PATCH 2/2] Integrate qemu-test into make system Ryan Harper
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=48F6C254.20902@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=kvm@vger.kernel.org \
--cc=paul@codesourcery.com \
--cc=qemu-devel@nongnu.org \
--cc=ryanh@us.ibm.com \
/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).