Received: from eggs.gnu.org ([2001:4830:134:3::10]:36163) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V6dq0-0005jx-RK for qemu-devel@nongnu.org; Tue, 06 Aug 2013 05:46:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V6dpr-0001TG-9m for qemu-devel@nongnu.org; Tue, 06 Aug 2013 05:45:56 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48655) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V6dpq-0001Su-VA for qemu-devel@nongnu.org; Tue, 06 Aug 2013 05:45:47 -0400 From: Markus Armbruster References: <1375709247-10002-1-git-send-email-afaerber@suse.de> <87y58fyzza.fsf@blackfin.pond.sub.org> <5200BC39.8080206@suse.de> Date: Tue, 06 Aug 2013 11:45:33 +0200 In-Reply-To: <5200BC39.8080206@suse.de> ("Andreas =?utf-8?Q?F=C3=A4rber=22?= =?utf-8?Q?'s?= message of "Tue, 06 Aug 2013 11:04:57 +0200") Message-ID: <878v0fp2yq.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH for-1.6? v2 00/21] qtest: Test all targets List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andreas =?utf-8?Q?F=C3=A4rber?= Cc: Anthony Liguori , Peter Maydell , qemu-devel@nongnu.org, =?utf-8?Q?Aur=C3=A9lien?= Jarno Andreas F=C3=A4rber writes: > Am 06.08.2013 10:39, schrieb Markus Armbruster: >> Andreas F=C3=A4rber writes: >>=20 >>> Hello Anthony/Aur=C3=A9lien, >>> >>> This series extends test coverage to all 16 targets. >>> For now it tests that QOM type changes do not lead to QOM cast assertio= ns. >>> >>> v2 extends it to cover virtually all machines (except Xen and pc*-x.y). >>> Where an fprintf() is touched, use error_report() instead. >>=20 >> Yes, we need such a smoke test for all targets. >>=20 >> I toyed with it myself, but I haven't been able to go beyond the crude >> hackery we discussed about a year ago: >> https://lists.nongnu.org/archive/html/qemu-devel/2012-08/msg01197.html >>=20 >> The problem is that many targets have mandatory options (fun oxymoron), >> such as -kernel or -pflash. >>=20 >> If I understand your approach correctly, you solve it by making these >> mandatory options optional when qtest_enabled(). >>=20 >> My idea was to create suitable dummy images, so we can provide the >> mandatory options. Guest won't be happy, but that's fine, as this smoke >> test doesn't want to run any guest code. > > Peter rejected having a U-Boot per machine. And from my own arm porting > experiences that would mean having close to one source of U-Boot per > machine since upstreaming works really badly in the embedded world. :( Mind, I said "dummy images". Just good enough to fool QEMU into loading them. Guest surviving even a single cycle after reset is entirely optional. [...]