Message ID | 20221025114345.28003-14-imbrenda@linux.ibm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <kvm-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 61571C38A2D for <kvm@archiver.kernel.org>; Tue, 25 Oct 2022 11:44:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231452AbiJYLo0 (ORCPT <rfc822;kvm@archiver.kernel.org>); Tue, 25 Oct 2022 07:44:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232038AbiJYLn5 (ORCPT <rfc822;kvm@vger.kernel.org>); Tue, 25 Oct 2022 07:43:57 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9607617537C for <kvm@vger.kernel.org>; Tue, 25 Oct 2022 04:43:55 -0700 (PDT) Received: from pps.filterd (m0098419.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 29PB8TMS028294 for <kvm@vger.kernel.org>; Tue, 25 Oct 2022 11:43:54 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=pp1; bh=7kjQ9DF9WFWNcAjx5lOKSIj65pE+NAI8k6isQJFkH20=; b=h8iI5z44jEdsujgq7OvLG21zaM5g2KB17NaykUQTCqxBX4Wn0O59ICzpxH1SP7HiGRKq 8TLWdavHdPSECd7OntRlFBDOrpY8/CGBHQ+kFMDQL6W/s1g9yW4qXpP2jY16Fs2txK2q KMCDEZOdSgm4we3/14otdeAwNbEY3ZRiXoNRFr8fH3NFVQZql3CVvIN/gXDz7UVLFEgy tuDDmahwncDbMulv7CLTlfzXquJR5Mj4/6XiX0UInuGTGQZHTqGJJ5EYaRAPvva28yCX jl4lL08bGkpTyFCjw3EWwKoIIYfd2dFxHSWJksh2cC+r5e9bWyfb548Cv9FCef4XBnIh 8A== Received: from pps.reinject (localhost [127.0.0.1]) by mx0b-001b2d01.pphosted.com (PPS) with ESMTPS id 3kebjt8aa9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <kvm@vger.kernel.org>; Tue, 25 Oct 2022 11:43:54 +0000 Received: from m0098419.ppops.net (m0098419.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 29PB9psM002534 for <kvm@vger.kernel.org>; Tue, 25 Oct 2022 11:43:54 GMT Received: from ppma03ams.nl.ibm.com (62.31.33a9.ip4.static.sl-reverse.com [169.51.49.98]) by mx0b-001b2d01.pphosted.com (PPS) with ESMTPS id 3kebjt8a9h-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 25 Oct 2022 11:43:54 +0000 Received: from pps.filterd (ppma03ams.nl.ibm.com [127.0.0.1]) by ppma03ams.nl.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 29PBdEGB024284; Tue, 25 Oct 2022 11:43:52 GMT Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by ppma03ams.nl.ibm.com with ESMTP id 3kdugat57a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 25 Oct 2022 11:43:52 +0000 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 29PBhnFc1573446 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 25 Oct 2022 11:43:49 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 279D2AE045; Tue, 25 Oct 2022 11:43:49 +0000 (GMT) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E13FCAE051; Tue, 25 Oct 2022 11:43:48 +0000 (GMT) Received: from p-imbrenda.boeblingen.de.ibm.com (unknown [9.152.224.252]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTP; Tue, 25 Oct 2022 11:43:48 +0000 (GMT) From: Claudio Imbrenda <imbrenda@linux.ibm.com> To: pbonzini@redhat.com Cc: kvm@vger.kernel.org, thuth@redhat.com, frankja@linux.ibm.com, Steffen Eiden <seiden@linux.ibm.com> Subject: [kvm-unit-tests GIT PULL 13/22] s390x: uv-host: Fence against being run as a PV guest Date: Tue, 25 Oct 2022 13:43:36 +0200 Message-Id: <20221025114345.28003-14-imbrenda@linux.ibm.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221025114345.28003-1-imbrenda@linux.ibm.com> References: <20221025114345.28003-1-imbrenda@linux.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: fsrzswH_wXGYYucMCMfGsLZzlRm88qNV X-Proofpoint-ORIG-GUID: _HbA-BjIOEU7jFWMwBg11iHJveeCQo45 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-10-25_05,2022-10-25_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 malwarescore=0 suspectscore=0 spamscore=0 clxscore=1015 mlxscore=0 adultscore=0 lowpriorityscore=0 mlxlogscore=999 priorityscore=1501 impostorscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2210250067 Precedence: bulk List-ID: <kvm.vger.kernel.org> X-Mailing-List: kvm@vger.kernel.org |
Series |
s390x: tests and fixes for PV, timing
|
expand
|
diff --git a/s390x/uv-host.c b/s390x/uv-host.c index 76d3e373..a33389b9 100644 --- a/s390x/uv-host.c +++ b/s390x/uv-host.c @@ -703,6 +703,10 @@ int main(void) report_skip("Ultravisor call facility is not available"); goto done; } + if (!uv_os_is_host()) { + report_skip("This test needs to be run in a UV host environment"); + goto done; + } test_i3(); test_priv();