Message ID | 20210920115538.264372-6-vsementsov@virtuozzo.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=LZKe=OK=nongnu.org=qemu-devel-bounces+qemu-devel=archiver.kernel.org@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 95F48C433EF for <qemu-devel@archiver.kernel.org>; Mon, 20 Sep 2021 12:01:58 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1C3F860EE2 for <qemu-devel@archiver.kernel.org>; Mon, 20 Sep 2021 12:01:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 1C3F860EE2 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=virtuozzo.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=nongnu.org Received: from localhost ([::1]:55250 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org>) id 1mSHzh-00067l-94 for qemu-devel@archiver.kernel.org; Mon, 20 Sep 2021 08:01:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33328) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <vsementsov@virtuozzo.com>) id 1mSHuB-0007b9-VD; Mon, 20 Sep 2021 07:56:16 -0400 Received: from mail-am6eur05on2112.outbound.protection.outlook.com ([40.107.22.112]:8080 helo=EUR05-AM6-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <vsementsov@virtuozzo.com>) id 1mSHuA-0005GQ-HW; Mon, 20 Sep 2021 07:56:15 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eERQhb5TNCEte4anwFENYX6A86dfFgzgMiE8/JRif9sGJyjquSeGmpyJIpQDf8iKl07uVlWff5uznS1AUgn8kVbDFdYLPUFihDCSMa6yRYecWnNDv2WkJ1YVm69sv67T7ZBi4wcEh0j9fhL+cmeiV6T/ilUuKxeL0AN8ieRzx/+/aADenb2o2UWWwb42XXgiJzf+UzFn2JAixypaSOYeO58T59xyPE0d6zxJ0FDdbiJgB1aNF70ZyNvM68vaEwyJ/dRLAqXnUSleeDBc+b9wUJhSdVl0ciludKtV96uSqHgOhtnU0EOUTbq1Dj8DVz4EXRQZ5VHXmv1AwRsPMv34gA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=y1ozaHCrCZ+cjgQvz4VlSswTeW64tm4tAo+Ws1z1x1A=; b=bxpnNUR22FGXtk29BzTd8UL4i4P5a7U3Lg3HdldmYpkpm8bpRxSEFzGXJgCr4t9sadnscWsSKBet8qWBvBm1LdfoQ5XhUkQ/e6xwddI6DVeDT3ckx7CpdxsOBe24LHDk6rN7IFhdrIq6869rOqplOFVmwjCobNYY2wMb3sI6j3IsK9Zw9JJN170xisztqjGcrspNmlWOz2MdMhghn6Ii4r1tDXtpV86U5EuzaZHi1CsGE3uynWEZ6klLeShYGfeuRoqieHPyv8XEH8qNes/30QfFbunKjgPKNWo0wBMUUdQl2uwfUfhCNZlrBF4bdWQ4o6GexTPXYjAyTii+/y2Dpg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=virtuozzo.com; dmarc=pass action=none header.from=virtuozzo.com; dkim=pass header.d=virtuozzo.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=virtuozzo.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=y1ozaHCrCZ+cjgQvz4VlSswTeW64tm4tAo+Ws1z1x1A=; b=ir9Bro06fgBzgXgM967dMyAvgssBNJGJ7Bh9ierOzycyBxL4KEtpGFexT5fuS8gZkCXJshwaXHTzT4NVFRTktkuCH7igOa8eYRt28jaqSNBEW6RnYxigCBQYU0W9UAdH6vpxENcURgq0Nz90zI+kuU4Zy8bhHSqX4xTnQpP9QQ8= Authentication-Results: nongnu.org; dkim=none (message not signed) header.d=none;nongnu.org; dmarc=none action=none header.from=virtuozzo.com; Received: from AM7PR08MB5494.eurprd08.prod.outlook.com (2603:10a6:20b:dc::15) by AS8PR08MB6631.eurprd08.prod.outlook.com (2603:10a6:20b:339::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.16; Mon, 20 Sep 2021 11:56:00 +0000 Received: from AM7PR08MB5494.eurprd08.prod.outlook.com ([fe80::2817:53b3:f8b4:fe22]) by AM7PR08MB5494.eurprd08.prod.outlook.com ([fe80::2817:53b3:f8b4:fe22%9]) with mapi id 15.20.4523.018; Mon, 20 Sep 2021 11:56:00 +0000 From: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> To: qemu-block@nongnu.org Cc: qemu-devel@nongnu.org, hreitz@redhat.com, kwolf@redhat.com, vsementsov@virtuozzo.com Subject: [PATCH 5/5] iotests/image-fleecing: declare requirement of copy-before-write Date: Mon, 20 Sep 2021 14:55:38 +0300 Message-Id: <20210920115538.264372-6-vsementsov@virtuozzo.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210920115538.264372-1-vsementsov@virtuozzo.com> References: <20210920115538.264372-1-vsementsov@virtuozzo.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: HE1PR09CA0082.eurprd09.prod.outlook.com (2603:10a6:7:3d::26) To AM7PR08MB5494.eurprd08.prod.outlook.com (2603:10a6:20b:dc::15) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (185.215.60.205) by HE1PR09CA0082.eurprd09.prod.outlook.com (2603:10a6:7:3d::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.14 via Frontend Transport; Mon, 20 Sep 2021 11:55:59 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b26f17a0-cb12-40d2-d04d-08d97c2d9d23 X-MS-TrafficTypeDiagnostic: AS8PR08MB6631: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: <AS8PR08MB6631AF44D4651B26E42071A9C1A09@AS8PR08MB6631.eurprd08.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:820; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 9Jwm8gW9Nmpwoace4sNAvhFgLQvacNlBaOKmw+c8HFO/h9kehn9KZW24wWtontutaK6xBsSM8WsnFVAcVs+QMOpAu+44+1LoOwr8mplDTarp8O37Rxzlg7EsVSniMmy1A1F5JsWLMgVZuph3+B6c22Khw0zZnqN2OgDlQFaWOPNH6FJNyTBlRWZC84d+l1hlKTpSEi3bNfajM/EKPOmrNIFm7duKv2Qq8w5mSaE7ssfftxW+mIeIewv7KtU8kaBvG+4iBZ01OHsJpCa0Ebk5BAmx3noHTHGg42pzWMZKkYadrneyZnBHuDQvVjwe1WdTpaWUCJqusbnBY4/9oti9RHnigfQwTHWCF+/3nXhu0iYvgjUIYn3hyWQu5JHCSdvSLay2T0KvmATfl1ga77YRN54AJBpMD954UuJQqF6K00DOhizfIsY5JUgK8wef2r3+0zIv4SoDY8q4JXyKGT4Z/RLfJiZrNlxsxptPAP2/d9o8HVt2JxSWzy60TzSWmRpPHgIJa7xF4dqQK+P5+Xy5Qu2a9FvMRyvZ5OXkw0lG4EXrjwJYOJw4zLEozBA5+v0uT3QnYgudFy6BDRc+S8IZS8HM221rqF7Ml6v8WX8kxF9XeF4/VBm+AZNXzjNEXWBjixHglgheU/FjEbtVbi4LhVUv8ejO68eq9sipd6Oegd0sOJeyCdVxQxRs3GFMAzOOS/D2foppiwVDSOMrlwJbnw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM7PR08MB5494.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39840400004)(376002)(396003)(136003)(346002)(366004)(2616005)(956004)(66476007)(4744005)(478600001)(66946007)(4326008)(66556008)(36756003)(107886003)(8676002)(8936002)(6506007)(316002)(6666004)(5660300002)(2906002)(52116002)(1076003)(38100700002)(86362001)(186003)(38350700002)(6486002)(6916009)(6512007)(26005); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: eR3g4Ah6Bd+d3Ekg/wIm+jrlezB51kjHNpv2Dmo7kvCFf8StUA7KqbcjIFK1PaTilRDISFrtJbvS3Ur9Bn2zckPNWhUKzVvAq3BJA+OWsU9HOkdh/l7Y+PLoa5e/GxxHDp53kPvVWCfFg7czE0aDaeYgrTW+94DhgyxG0jcmzcUvSt6iTtRpKlc5F7/NNr46yzc3CJ1gpPvaSVA19aVTx17ZUDU+pibnShjXyzG8E/bw3e438KhWGyS9MuYPof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gPMjJrSftkuvHjfPAxUBM X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-Network-Message-Id: b26f17a0-cb12-40d2-d04d-08d97c2d9d23 X-MS-Exchange-CrossTenant-AuthSource: AM7PR08MB5494.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Sep 2021 11:56:00.3429 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 0bc7f26d-0264-416e-a6fc-8352af79c58f X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: FUsNjLCGcNgfOhOKPEHDicebWbxGlQMF8nxCdBS5nq6C2+JxjWFYq+Io6XeBrMZ3hCDla+DF/kO5TCWeb9NCUYG9AE9PmzZRpQaRt6eo2AU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB6631 Received-SPF: pass client-ip=40.107.22.112; envelope-from=vsementsov@virtuozzo.com; helo=EUR05-AM6-obe.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org> |
Series |
Fix not white-listed copy-before-write
|
expand
|
diff --git a/tests/qemu-iotests/tests/image-fleecing b/tests/qemu-iotests/tests/image-fleecing index f6318492c6..35164e9036 100755 --- a/tests/qemu-iotests/tests/image-fleecing +++ b/tests/qemu-iotests/tests/image-fleecing @@ -28,6 +28,7 @@ from iotests import log, qemu_img, qemu_io, qemu_io_silent iotests.script_initialize( supported_fmts=['qcow2', 'qcow', 'qed', 'vmdk', 'vhdx', 'raw'], supported_platforms=['linux'], + required_fmts=['copy-before-write'], ) patterns = [('0x5d', '0', '64k'),
Now test fails if copy-before-write is not white-listed. Let's skip test instead. Fixes: c0605985696a19ef034fa25d04f53f3b3b383896 Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> --- tests/qemu-iotests/tests/image-fleecing | 1 + 1 file changed, 1 insertion(+)