Received: from eggs.gnu.org ([208.118.235.92]:46149) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sz1eS-00082E-TI for qemu-devel@nongnu.org; Wed, 08 Aug 2012 04:30:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sz1eR-0004iC-J1 for qemu-devel@nongnu.org; Wed, 08 Aug 2012 04:30:00 -0400 Received: from mx1.redhat.com ([209.132.183.28]:5928) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sz1eR-0004i3-B8 for qemu-devel@nongnu.org; Wed, 08 Aug 2012 04:29:59 -0400 From: Markus Armbruster References: <87obmmcxlh.fsf@blackfin.pond.sub.org> <87fw7ya42h.fsf@codemonkey.ws> <87ipcubhoc.fsf@blackfin.pond.sub.org> <87hasea1ie.fsf@blackfin.pond.sub.org> <871ujh7rgd.fsf@blackfin.pond.sub.org> Date: Wed, 08 Aug 2012 10:29:55 +0200 In-Reply-To: (Peter Maydell's message of "Wed, 8 Aug 2012 09:03:42 +0100") Message-ID: <871ujh4who.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] For all targets and machine types: "start to monitor" smoke test List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: qemu-devel@nongnu.org, Anthony Liguori Peter Maydell writes: > On 8 August 2012 08:50, Markus Armbruster wrote: >> Markus Armbruster writes: >>> The string should be suitable for inserting into -help. >> >> Sufficiently common cases can also be delegated to generic code: >> >> * Maximum number of CPUs >> >> Got that: QEMUMachine member max_cpus, main() enforces it. >> >> * Require -kernel >> >> Have a flag in QEMUMachine, enforce in main(). >> >> * Require certain drives >> >> Have QEMUMachine declare minimum and maximum number drives of each >> BlockInterfaceType? > > I'm not entirely sure what the aim here is? Allow some automated test > program to programmatically determine required arguments for a > smoke test? Make machines consistent about how they inform the > user about required arguments etc? Let us print this info in --help? > Something else? I think each of the above would be nice to have, no more, no less.