From patchwork Mon Jul 31 16:21:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Nefedov X-Patchwork-Id: 9872439 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 1653C602F0 for ; Mon, 31 Jul 2017 16:29:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 030B62842E for ; Mon, 31 Jul 2017 16:29:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EBEE728470; Mon, 31 Jul 2017 16:29:21 +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=BAD_ENC_HEADER,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 C87422842E for ; Mon, 31 Jul 2017 16:29:20 +0000 (UTC) Received: from localhost ([::1]:60538 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dcDZH-0000xt-Pb for patchwork-qemu-devel@patchwork.kernel.org; Mon, 31 Jul 2017 12:29:19 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39360) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dcDSj-0004nt-HK for qemu-devel@nongnu.org; Mon, 31 Jul 2017 12:22:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dcDSi-0005PG-As for qemu-devel@nongnu.org; Mon, 31 Jul 2017 12:22:33 -0400 Received: from mail-eopbgr10104.outbound.protection.outlook.com ([40.107.1.104]:11934 helo=EUR02-HE1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dcDSh-0005Kw-W6; Mon, 31 Jul 2017 12:22:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=virtuozzo.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=tTCExH2Mbvn4MIJSTkVToK+BneK8j74sNUTSilqlt54=; b=SdRgKtIg1X5P37CP+j57/n0BpTE2CMnLweNbCSPVczpe6v19uN7Hnx0IG8we7phj3WtvTHSRAFeAQWOXJFsFZKsYLTyJZXt1DBYC5JsUigOMDLogwuoIXOSI6gDPuEBYu4/XmOy+lE+uWWcAvlTIPkGTJZm7c3DnRlt3EttmpVU= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=anton.nefedov@virtuozzo.com; Received: from xantnef-ws.sw.ru (195.214.232.6) by AM5PR0801MB1987.eurprd08.prod.outlook.com (2603:10a6:203:4b::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1304.22; Mon, 31 Jul 2017 16:22:27 +0000 From: Anton Nefedov To: qemu-devel@nongnu.org Date: Mon, 31 Jul 2017 19:21:56 +0300 Message-Id: <1501518125-29851-5-git-send-email-anton.nefedov@virtuozzo.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1501518125-29851-1-git-send-email-anton.nefedov@virtuozzo.com> References: <1501518125-29851-1-git-send-email-anton.nefedov@virtuozzo.com> MIME-Version: 1.0 X-Originating-IP: [195.214.232.6] X-ClientProxiedBy: VI1PR08CA0217.eurprd08.prod.outlook.com (2603:10a6:802:15::26) To AM5PR0801MB1987.eurprd08.prod.outlook.com (2603:10a6:203:4b::14) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c7ffadf8-a696-478b-5409-08d4d830566f X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(300000503095)(300135400095)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:AM5PR0801MB1987; X-Microsoft-Exchange-Diagnostics: 1; AM5PR0801MB1987; 3:RWTiae9zFSn0miC1ltoI36KfB5IZI3l2C0YYjtnhuvaxnjhAlU58lFh2g9JL6bFOVQudbXDh4tHdIcKU4TSODfBBqX/iTTUr0zZqhqsS5fa9J2w2VA1GMaJ7LEREIWYZjvaCKNS9WWgCvhV2EyXgDCh9BskuqS1R4J1OAOBgGYu2bSocVbC6XjFrhOXwOuCQBBoLvdPbPfaq9FF5iRm3XoS8D1VAQ+rDpZEf1WCXGajN+zrhChLZIqWtWsv74mIfH2i4DL5WPhWZp0bKDo6g59yUKDi7bg+Bvh5QwCTOB6YcttrHSkNvsVrGKcdrYK51rWU713O6/8VNDciRCJUPuNAR+rqMIY6u61bfzjOhErPDjfYjDMvM1kpdWTJXq7IH8TfqVFbVwHqX1wuwTdgb1hD22yzWCanMr/QuY7K4zD09iHZOGDTg3zvJOwuoFVKXlWO/W5zoSRPOLCwi7nK/BYcJ2dPzWylKdJ4Q6P+2rQR2m1Ej6sxW5GWKnsJVpF0ixWsLhC6pogzgn9D5hqLlkGENHoMbxJLc5/oW1cjLPeAHNyME6Zz0tHLoD3o0Vr9bu+joguu/wSar18jPsSSYz4tsuVJUngaIayq8tewMkJJGtLpN0TydWc+3oE5niPUiFTHHhFzJfhWxBEbkPxkhV0LUpmd2x0xRfCd73kejenYtSB/FZdtk/kHoWqO5ugQK94iG8acX6HCOb2GJPuh02c5i3Zw6sJWdZQHrTQSRktBbuBUUnA/4wORMtwgmWP1W9AR2q4LWCLFptss0abNxrFWO+oyx32UH2ylWVCynVZxGH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oykz+KLnyz1ZlK4ZRAHL7agQzZ6nIoBQveVzNHithZQ2ofYQOm7x6xiUVJDelVmUiz1KUVIo= X-Exchange-Antispam-Report-Test: UriScan:; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(6041248)(20161123558100)(20161123564025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123555025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:AM5PR0801MB1987; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:AM5PR0801MB1987; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM5PR0801MB1987; 4:lm0LzF0XK386YcnqUhxzaZaqkgz5TLK11XLyKfo+?= =?us-ascii?Q?V4CnB9SKM5jjabLS7mjbnwat8yaEwi6j3ckZZfxN4Fv1dhPgHq2YYykExjq0?= =?us-ascii?Q?ODNOsrwIwLUvTMLF8Nuj+/rdSRc4ZcNF2vBMvg3TiNl0TxhZbrmn2BgtX6iV?= =?us-ascii?Q?Yf1IA5+VlkAZTnfTNELHxKVRxLPM+E8iZQgTvsMG8LN7cAsxiCovHNWD9YvK?= =?us-ascii?Q?ox77ObqYiIf6S3rgRURdDZcWZyFva/4e4hnJcNEf7x4d47N2StHAd311dzfa?= =?us-ascii?Q?ZZXjdm6ac3mS0ZbmmGE/ILV5Gc8E45GFyS+Kroy2bJS3Iu1V/CmrW9wk6B08?= =?us-ascii?Q?jqafWwU+Lv+eHY6hMM/Cn5qG6M7ystmf06iZ+QcjEcHyOSZT4y8r1Js3Gy9h?= =?us-ascii?Q?mZ8YG5pqD1by7SLobAN6HBfGn3vFB16lr6PeZSPmPRUew7LLwvZNGG/ptZAq?= =?us-ascii?Q?cN73nCnPcosRabrAOP3CX2CYf45QqKB1W0CATJOj47Ec0k62rhK2hoxyfbYA?= =?us-ascii?Q?keus8QleANFmhMgDLV3+RDHI4If2C+l1R0xJvcZvqwtjjLPhSKysbm8OKt3R?= =?us-ascii?Q?HCvIuxE7GWbp36sNRw8BjjpBUHdmqH822jzMsE5H6JgjtaimVPvHzkV/HJ7H?= =?us-ascii?Q?bJDfx3ltbVbVTyhzpCHokiLiQiRittjk+10phFE54pSoFUgGtGrfWR3R5fry?= =?us-ascii?Q?do3w4qYdnEaBFaNsIQDew7epUpaWh1/+Gf4c+Ft5XbSgQMXSqTTmUWlllTpi?= =?us-ascii?Q?P3u3pcV+MByREoS9dSmeqjndprbQkLGUovv+8HYfUVkOYtvHhnCK0Q3GsWHf?= =?us-ascii?Q?yPOd9oMyJRc/wdJ76yEk0vRqWyT6OV9woCrhqpYwqbPB7EkxWhaCZ599mosU?= =?us-ascii?Q?kKf0TwNLzGgd1bDjYJaJIKFdOmdDinDLuJDFitzQrV86QXvTmC/BjyK5RaQj?= =?us-ascii?Q?d979nONf+zqfmW/C4wu3xa36ftSVhX4wnLle/mV2PHqQS8aq7IukUW7kszpL?= =?us-ascii?Q?yy5FD7ZtXW0CW0Qx3vwwHMWDxF0LsL5GknVo562qnFey6rO8FM7kCrH7xwTw?= =?us-ascii?Q?VaSpIJGGahksiPJubT1JN8keLG/OOYgaopnWYtRfYp9ei5FVMKOKx/sQCRVd?= =?us-ascii?Q?jN9/nJA7mhdgeLIGJldaUm6AU3miyUBj?= X-Forefront-PRVS: 03853D523D X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(7370300001)(4630300001)(6009001)(39400400002)(39410400002)(39840400002)(39450400003)(199003)(189002)(5003940100001)(66066001)(47776003)(81166006)(53936002)(48376002)(101416001)(81156014)(50466002)(6506006)(36756003)(8676002)(305945005)(2950100002)(69596002)(189998001)(6486002)(4326008)(7350300001)(6666003)(2906002)(97736004)(50226002)(107886003)(110136004)(38730400002)(105586002)(25786009)(106356001)(53416004)(478600001)(6916009)(68736007)(2351001)(42186005)(2361001)(86362001)(7736002)(33646002)(76176999)(50986999)(3846002)(6116002)(5660300001)(6512007); DIR:OUT; SFP:1102; SCL:1; SRVR:AM5PR0801MB1987; H:xantnef-ws.sw.ru; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: virtuozzo.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM5PR0801MB1987; 23:PSC3b4vauv4JGX/sszIl5IfLvTSLwRe9k2x6NAI?= =?us-ascii?Q?91FV6qdzbHmraCW+03OJKCMDZ11FimMMGx48EbkTmMFPfNzOUgrPBYy3EnGM?= =?us-ascii?Q?QoTGEYkRBu4bBh6/LzhIw/pl3nZCoqQBC2ulrxj6v0KZjEkjYMLmUqd6ppuy?= =?us-ascii?Q?UanrfpZTwlXGmVe5P/rOljB0VQRvlzo8d8XL4N8w+u98zwNA6lI+ihd3kY41?= =?us-ascii?Q?eHfHr555A+l6H+4BHuM7CHMefMPd1zqM9xUe34ex7urB5uh1ARHBQmBdH4lG?= =?us-ascii?Q?l5l9ENfAsa8vpDy66y9aC+d8hY4/V5M86MeSr6+zQLr5FJtbgHHgr9uhzTmP?= =?us-ascii?Q?F1C0eN6QXIznbRHpOh4XBmt36ttEG4NI1GRWuW4KjHaZblugjqHwp3/PuxGy?= =?us-ascii?Q?kJjxzLYsUS9k+mb+UgWBQ+9C+8P8L5I8cr4z4hGoqtYkxABouBAIM40Lf3V7?= =?us-ascii?Q?a8nAo9msQOCQkfMy0Z02LNEWklpXLe9Oo8nGWeyDqGb7Ygw5X4Dedzezrj1l?= =?us-ascii?Q?T3Guu+DdkSymGqw2fpGSZOpvs7PsyjAAO+xbCPhnF9kji579//AQydcswPBe?= =?us-ascii?Q?bwCGuHIBCf80Koi0SvdhSc5Dn2v3Z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ol98xu7?= =?us-ascii?Q?WiY=3D?= X-Microsoft-Exchange-Diagnostics: 1; AM5PR0801MB1987; 5:urjtcT6RXtfIm46kZN5+bdM2XAgq5kpIvnk46LKFNvn9yMmqmtb+GmktpdDE0N8rFuPGOax2FEUXx3RfafzNl93Jg/HA2K9/ZuKouvI5kATiJHmiuHwpLrLGD0C2euSlP+EBcxGX69SZiVDgKmOqOXUT/nxA8fMhoDi4+WdENwnhOqICwIqjTkAoRttOkxPtB0mbc/B0DwGkfKga36yzii9GU0Tn/V/gyiKmJBqZuOw8sIeoNrszWTAJGpE9GUkmlBnAS+i5Ybb/ThaJcZ7oaWLle1SGccUcOFox3DfT6D4PdALEyvLmE4b3GyE25lV8qhYHSAJTFdunZ3qs9mAHgVASfssmpAuI3tvwBB/mNi6al1kMUzqtLMyN/xvxMOo0xCrijuv2qBgiHBvEk6b23Erb+QX1YvVGnriVu8UsbvyhTz0B78gf7AEwhqeBFdzTAiTtMoSodUkGMVeb17oBcy9QUq/h75yE6pMZDjU7BF7Ei9tiOGJ86rv0+TlGfO+1; 24:fxB9lMi/8clD+1IyYgJTUi0W81HwVFWH229MvUfi/ph0KdI4ZnIjfLcYQsRAyiaoxIYY193e/pqekTk2J8EY1TZ8BNRnxPOj2Gk6fiZUA80= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; AM5PR0801MB1987; 7:VA37Nt8rget/GyCQ2VkZsa8qPcpfeTGR09ehPt72fPHECVjQ2yhxyoyIzJONyuFCgG+PjU331HNO47tIvn1hA79bnOEtlGMMSKNCiyp/2f+UgCiuYdrUsxMRBN8knSaMEn1fEvBODlw1lR4N9cMxxgJUJNfJwEqvzdQQRVPq1vi2PefNcGeP7/vEV7SJfb0x179x/nHDCgUd1Q/JjAvhZPMWsCDcH8B0NqUWQsbgUmMEcD0TIPpGLZAGWw5fckIj6lJDoygbq6Qwdkg3/l3daoJyT6AwGeH0xVrX7Ch+zcKed901+eLCM7qz+mMbV6eHd85YzRpob7VEcH8B4yZebnDHv8q8WqoGHt71jVF97LExMC9IxwFbhCV0EOH7wZXbHSMLtXs4vf5xurZcF7FhhV8kgSTSOiAabZxm9/RqQCzp2quUizC4PXj9JJ5feaZGqopTXfEbiuvISHMiqbmVqp5o37GlvY2ZUcwZiWyd4j6ixM36jkD8iHfeq/qGTLUqH06GrhlROGgPH52TVnrhFnISSiHm3ys7srwUhwhjga0RlqJEbaTacFDDPETXsCQPEa0IikIbKrAaFxo+86I15jw53ULNmHyYCCchlhrG6FGrJc+SH+G3czV6ylkznHr4BwK2Y8LfN3uxa1nzyrSUTW2WqJNF/4vJWIO8qmC9QhHrFsarnlHoTZAQc23TKpCOs3SO4uLbVK/ai2TK8UCOMCa2Pq9AbwqdNLKZ8joNMcLNg3K4EJyc1Z8Pxe/oKQTCTe3kIinThWH3RZ+BIb0O/Kq1QgwYTVA+EQMrxwP0I28= X-Microsoft-Exchange-Diagnostics: 1; AM5PR0801MB1987; 20:G0L1x8D4gG+X1kW8OiRmzVvXikIgyW3gBzsKGBUrKf8DPEvA+Jubo0aLHffJDrQf6hroI7F4DZbAluZuien1YFeUPwg6j7TYV0qQRj3cQ9I+D3vFHEf7RjpeMVmDjy0ZENg6NUnWFuME6vk9SxrGCCv3r/H6ORxA7BfWDYuQdZk= X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jul 2017 16:22:27.8748 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0801MB1987 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 40.107.1.104 Subject: [Qemu-devel] [PATCH v3 04/13] block: support BDRV_REQ_ALLOCATE in passthrough drivers 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: kwolf@redhat.com, Anton Nefedov , den@virtuozzo.com, qemu-block@nongnu.org, mreitz@redhat.com Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Support the flag if the underlying BDS supports it Signed-off-by: Anton Nefedov --- block/blkdebug.c | 3 ++- block/raw-format.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/block/blkdebug.c b/block/blkdebug.c index c19ab28..ef2d764 100644 --- a/block/blkdebug.c +++ b/block/blkdebug.c @@ -414,7 +414,8 @@ static int blkdebug_open(BlockDriverState *bs, QDict *options, int flags, bs->supported_write_flags = BDRV_REQ_FUA & bs->file->bs->supported_write_flags; - bs->supported_zero_flags = (BDRV_REQ_FUA | BDRV_REQ_MAY_UNMAP) & + bs->supported_zero_flags = + (BDRV_REQ_FUA | BDRV_REQ_MAY_UNMAP | BDRV_REQ_ALLOCATE) & bs->file->bs->supported_zero_flags; ret = -EINVAL; diff --git a/block/raw-format.c b/block/raw-format.c index 142649e..fc97a7d 100644 --- a/block/raw-format.c +++ b/block/raw-format.c @@ -421,7 +421,8 @@ static int raw_open(BlockDriverState *bs, QDict *options, int flags, bs->sg = bs->file->bs->sg; bs->supported_write_flags = BDRV_REQ_FUA & bs->file->bs->supported_write_flags; - bs->supported_zero_flags = (BDRV_REQ_FUA | BDRV_REQ_MAY_UNMAP) & + bs->supported_zero_flags = + (BDRV_REQ_FUA | BDRV_REQ_MAY_UNMAP | BDRV_REQ_ALLOCATE) & bs->file->bs->supported_zero_flags; if (bs->probed && !bdrv_is_read_only(bs)) {