From patchwork Fri Oct 27 18:17:40 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Henrique Barboza X-Patchwork-Id: 831440 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3yNsZW3qdkz9t48 for ; Sat, 28 Oct 2017 05:18:42 +1100 (AEDT) Received: from localhost ([::1]:58537 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e89DL-0006tS-NA for incoming@patchwork.ozlabs.org; Fri, 27 Oct 2017 14:18:39 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49545) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e89Cm-0006rz-3U for qemu-devel@nongnu.org; Fri, 27 Oct 2017 14:18:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e89Ch-0003ot-5C for qemu-devel@nongnu.org; Fri, 27 Oct 2017 14:18:04 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:51510 helo=mx0a-001b2d01.pphosted.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e89Cg-0003nf-VY for qemu-devel@nongnu.org; Fri, 27 Oct 2017 14:17:59 -0400 Received: from pps.filterd (m0098419.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id v9RIFTWk127160 for ; Fri, 27 Oct 2017 14:17:54 -0400 Received: from e36.co.us.ibm.com (e36.co.us.ibm.com [32.97.110.154]) by mx0b-001b2d01.pphosted.com with ESMTP id 2dv9strjd8-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Fri, 27 Oct 2017 14:17:54 -0400 Received: from localhost by e36.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 27 Oct 2017 12:17:53 -0600 Received: from b03cxnp08026.gho.boulder.ibm.com (9.17.130.18) by e36.co.us.ibm.com (192.168.1.136) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 27 Oct 2017 12:17:51 -0600 Received: from b03ledav006.gho.boulder.ibm.com (b03ledav006.gho.boulder.ibm.com [9.17.130.237]) by b03cxnp08026.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id v9RIHoYp62980112; Fri, 27 Oct 2017 11:17:50 -0700 Received: from b03ledav006.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A1337C603E; Fri, 27 Oct 2017 12:17:50 -0600 (MDT) Received: from localhost.localdomain (unknown [9.80.238.72]) by b03ledav006.gho.boulder.ibm.com (Postfix) with ESMTP id 790F7C6037; Fri, 27 Oct 2017 12:17:49 -0600 (MDT) From: Daniel Henrique Barboza To: qemu-devel@nongnu.org Date: Fri, 27 Oct 2017 16:17:40 -0200 X-Mailer: git-send-email 2.13.6 X-TM-AS-GCONF: 00 x-cbid: 17102718-0020-0000-0000-00000CE9471C X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00007963; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000239; SDB=6.00937317; UDB=6.00472414; IPR=6.00717579; BA=6.00005660; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00017747; XFM=3.00000015; UTC=2017-10-27 18:17:52 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17102718-0021-0000-0000-00005EAE0739 Message-Id: <20171027181740.32165-1-danielhb@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-10-27_09:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1707230000 definitions=main-1710270238 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 148.163.158.5 Subject: [Qemu-devel] [PATCH] scripts/device-crash-test: vmcoreinfo in error_whitelist for ppc64 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: mdroth@linux.vnet.ibm.com, ehabkost@redhat.com Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" The device vmcoreinfo depends on the fw_cfg device to work, a device that isn't available in most ppc64 machines. This makes device-crash-test spams the following error when running with qemu-system-ppc64: "INFO: log: qemu-system-ppc64: -device vmcoreinfo: vmcoreinfo device requires fw_cfg with DMA" To fix it, this patch adds the following ppc64 machines into the error_whitelist for the vmcoreinfo device: - pseries.* - 40p - bamboo - g3beige - mac99 - mpc8544ds - powernv - ppce500 - prep - virtex-ml507 After this patch, the only ppc64 machine that reports error on the vmcoreinfo device is the 'none' type. Signed-off-by: Daniel Henrique Barboza --- scripts/device-crash-test | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/scripts/device-crash-test b/scripts/device-crash-test index 043b24a4aa..fb8a43d679 100755 --- a/scripts/device-crash-test +++ b/scripts/device-crash-test @@ -163,6 +163,18 @@ ERROR_WHITELIST = [ # "spapr-cpu-core needs a pseries machine" {'machine':'(?!pseries).*', 'device':'.*-spapr-cpu-core', 'expected':True}, + # vmcoreinfo requires a fw_cfg device and will fail in these ppc64 machines + {'machine':'pseries.*', 'device':'vmcoreinfo', 'expected':True}, + {'machine':'40p', 'device':'vmcoreinfo', 'expected':True}, + {'machine':'bamboo', 'device':'vmcoreinfo', 'expected':True}, + {'machine':'g3beige', 'device':'vmcoreinfo', 'expected':True}, + {'machine':'mac99', 'device':'vmcoreinfo', 'expected':True}, + {'machine':'mpc8544ds', 'device':'vmcoreinfo', 'expected':True}, + {'machine':'powernv', 'device':'vmcoreinfo', 'expected':True}, + {'machine':'ppce500', 'device':'vmcoreinfo', 'expected':True}, + {'machine':'prep', 'device':'vmcoreinfo', 'expected':True}, + {'machine':'virtex-ml507', 'device':'vmcoreinfo', 'expected':True}, + # KVM-specific devices shouldn't be tried without accel=kvm: {'accel':'(?!kvm).*', 'device':'kvmclock', 'expected':True}, {'accel':'(?!kvm).*', 'device':'kvm-pci-assign', 'expected':True},