From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: [Qemu-devel] [PATCH 0/1] integrate qemu-test into kvm-userspace Date: Fri, 25 Jul 2008 12:52:20 -0500 Message-ID: <488A12D4.8010905@us.ibm.com> References: <1217004805-13955-1-git-send-email-ryanh@us.ibm.com> <200807251812.34838.paul@codesourcery.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: qemu-devel@nongnu.org, Ryan Harper , kvm@vger.kernel.org To: Paul Brook Return-path: Received: from e1.ny.us.ibm.com ([32.97.182.141]:32995 "EHLO e1.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754482AbYGYRw6 (ORCPT ); Fri, 25 Jul 2008 13:52:58 -0400 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234]) by e1.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id m6PHqsO4014246 for ; Fri, 25 Jul 2008 13:52:54 -0400 Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [9.56.224.217]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v9.0) with ESMTP id m6PHqsod213018 for ; Fri, 25 Jul 2008 13:52:54 -0400 Received: from d01av03.pok.ibm.com (loopback [127.0.0.1]) by d01av03.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m6PHqr4a004202 for ; Fri, 25 Jul 2008 13:52:54 -0400 In-Reply-To: <200807251812.34838.paul@codesourcery.com> Sender: kvm-owner@vger.kernel.org List-ID: Paul Brook wrote: >> Ultimately, I'd like to push this into qemu since nothing we're doing >> here is arch or kvm specific. >> > > What advantage does inclusion with qemu give? > AFAICS You're going to have to download gigabytes of images anyway, so > wouldn't it make more sense to include the test script with those? > The tests themselves are meant to run against pretty much any Linux image that's configured to use the serial port as a console. The idea is to be able to run the individual tests with arbitrary QEMU command lines (think -smp 2 for instance) against arbitrary Linux images. Yeah, it can't guarantee to be perfect but in practice, it seems to work pretty well. Ryan's also included a "make check" framework that assumes a set of existing images. That may not be useful within QEMU but I think the tests themselves are. Regards, Anthony Liguori > Paul >