From patchwork Tue Dec 19 04:45:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Gibson X-Patchwork-Id: 10122261 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 248D360390 for ; Tue, 19 Dec 2017 04:52:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1393428F9A for ; Tue, 19 Dec 2017 04:52:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 04A4B28FB2; Tue, 19 Dec 2017 04:52:43 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A28A628F9A for ; Tue, 19 Dec 2017 04:52:42 +0000 (UTC) Received: from localhost ([::1]:47230 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eR9tR-0005Bd-HD for patchwork-qemu-devel@patchwork.kernel.org; Mon, 18 Dec 2017 23:52:41 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44069) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eR9md-0006PB-EC for qemu-devel@nongnu.org; Mon, 18 Dec 2017 23:45:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eR9mW-0000hr-Ss for qemu-devel@nongnu.org; Mon, 18 Dec 2017 23:45:39 -0500 Received: from ozlabs.org ([103.22.144.67]:55861) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eR9mV-0000cc-Rc; Mon, 18 Dec 2017 23:45:32 -0500 Received: by ozlabs.org (Postfix, from userid 1007) id 3z151f4XwCz9t39; Tue, 19 Dec 2017 15:45:26 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gibson.dropbear.id.au; s=201602; t=1513658726; bh=wOgJ4ljSeKBwJIyp94qD2/4ptEJdyE0K6Ps7kxdcMHM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=W3P0stDbk/gIY9zUcab+7hAj3j8kUqlJvsGBOEIYPLNbtA1bEaFpMTu1Fg2uqzvOA zROyYlMDKulW8c1YETVT/iQrIfxB0BGtHNLHRQYs9UOfNf0HbKpKa0/BFURtTak3gG K6GlhW5UdO2hdSmCwLKNgVPhnIKzwf+kLIrcwCcA= From: David Gibson To: mst@redhat.com Date: Tue, 19 Dec 2017 15:45:22 +1100 Message-Id: <20171219044522.10850-5-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20171219044522.10850-1-david@gibson.dropbear.id.au> References: <20171219044522.10850-1-david@gibson.dropbear.id.au> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 103.22.144.67 Subject: [Qemu-devel] [PATCHv3 4/4] tests/pxe-test: Add some extra tests X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: thuth@redhat.com, qemu-ppc@nongnu.org, qemu-devel@nongnu.org, David Gibson Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Previously virtio-net was only tested for ppc64 in "slow" mode. That doesn't make much sense since virtio-net is used much more often in practice than the spapr-vlan device which was tested always. So, move virtio-net to always be tested on ppc64. We had no tests at all for the q35 machine, which doesn't seem wise given its increasing prominence. Add a couple of tests for it, including testing the newer e1000e adapter. Signed-off-by: David Gibson Reviewed-by: Thomas Huth --- tests/pxe-test.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/pxe-test.c b/tests/pxe-test.c index 5689c7d7ee..5ca84805eb 100644 --- a/tests/pxe-test.c +++ b/tests/pxe-test.c @@ -30,6 +30,8 @@ typedef struct testdef { static testdef_t x86_tests[] = { { "pc", "e1000" }, { "pc", "virtio-net-pci" }, + { "q35", "e1000e" }, + { "q35", "virtio-net-pci", }, { NULL }, }; @@ -43,11 +45,11 @@ static testdef_t x86_tests_slow[] = { static testdef_t ppc64_tests[] = { { "pseries", "spapr-vlan" }, + { "pseries", "virtio-net-pci", }, { NULL }, }; static testdef_t ppc64_tests_slow[] = { - { "pseries", "virtio-net-pci", }, { "pseries", "e1000" }, { NULL }, };