From patchwork Fri May 24 14:03:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aarushi Mehta X-Patchwork-Id: 10959957 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2E1FD112C for ; Fri, 24 May 2019 14:06:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1F1C22882F for ; Fri, 24 May 2019 14:06:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 12F1F2894D; Fri, 24 May 2019 14:06:30 +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=-5.0 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7A4F728936 for ; Fri, 24 May 2019 14:06:28 +0000 (UTC) Received: from localhost ([127.0.0.1]:55149 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hUAq3-0004rD-Pi for patchwork-qemu-devel@patchwork.kernel.org; Fri, 24 May 2019 10:06:27 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40481) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hUAoP-0003SB-2Z for qemu-devel@nongnu.org; Fri, 24 May 2019 10:04:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hUAnj-0002OP-5q for qemu-devel@nongnu.org; Fri, 24 May 2019 10:04:03 -0400 Received: from mail-pg1-x52f.google.com ([2607:f8b0:4864:20::52f]:42637) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hUAnj-0002Nf-0X; Fri, 24 May 2019 10:04:03 -0400 Received: by mail-pg1-x52f.google.com with SMTP id 33so2162792pgv.9; Fri, 24 May 2019 07:04:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=MOLjMhKSGechndhxC45XWXBaUt38Hb0jpsQqlDASuQI=; b=fGvlprkOGqYCx4shyGCXwfblzCKE0Jui6v0XhIbUPpbOAlKZ3i92xPf2Brz9hun9RG HrhZw5Rly2nxpT7Wl5fNvIj1bkNcHOkYN3VHLoyph3fV8C1BaQSl5OSOBZGYEXs3e5rf kjuQ78sFSR5L092ejLITDJ7t72QPg2A0T2uX8DAEtIWcdXzY7FAtAQQhf15fecaQiYlY OnY/Qd/OGXofsKrK43C0ZitTERn62AksTaBSNFWrfgrQABt9ptClsVXd4NpVsXZLcIUo BK/1R8kJJLjlMFdbrC5r4OdjkmE8g4ecq+t2A+Efb3jjc/JiNgc6EbIX0bWaGc/xlIa4 nVsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=MOLjMhKSGechndhxC45XWXBaUt38Hb0jpsQqlDASuQI=; b=qQRv8o462FApOmSdwABrnOb6ka/ZzOnZMmLb+uqVchF/JLnoAa2cYk3+Efr11aX2Wf 1ACP9kTbXD4mPAqR6xdC4UoMbNwAFzyNM4NR3jPu/oKHNlvWUah7S8fkrKsZj/dF3xHB NV0S6U9hj9r8zl4+rRGlVrCQtDzpZ22VHO32q4bguL818JYHnZZ7UTVV+q2qGU2K1MAM dE5MgAVWFRTgAx/lNLYDbKPDm1czVYXtrafodicW5NzvI5ieeoPkgcMstGZKjbN3fhsF kztJmOeSUv5YcXCI+s9xf9trOIS3LAAFaE8mgLYwebKDLWMpMevftDGH0g4f/z/rZB0O Jv2A== X-Gm-Message-State: APjAAAXmqEnkGQ2p/l9fgwRbVId0Cy+4GMfGOaLYhHHSnBOBKRkzaSw3 8xZqvjvXVmtaWCnEiHsxAeiWKfUXujZxmQ== X-Google-Smtp-Source: APXvYqxI41XB2iojAX6k1A6EenTsYGvVYmRkHnYZX6Hi+pyNFL0uIouqGFdvoL94qtml9EdtvhXglQ== X-Received: by 2002:a62:2e46:: with SMTP id u67mr114236791pfu.206.1558706641550; Fri, 24 May 2019 07:04:01 -0700 (PDT) Received: from localhost.localdomain ([120.57.120.132]) by smtp.gmail.com with ESMTPSA id u11sm2556766pfh.130.2019.05.24.07.03.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 May 2019 07:04:00 -0700 (PDT) From: Aarushi Mehta To: qemu-devel@nongnu.org Date: Fri, 24 May 2019 19:33:29 +0530 Message-Id: <20190524140337.13415-2-mehta.aaru20@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190524140337.13415-1-mehta.aaru20@gmail.com> References: <20190524140337.13415-1-mehta.aaru20@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::52f Subject: [Qemu-devel] [RFC PATCH v2 1/9] qapi/block-core: add option for io_uring 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: Kevin Wolf , qemu-block@nongnu.org, saket.sinha89@gmail.com, Stefan Hajnoczi , Julia Suvorova , Aarushi Mehta Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Aarushi Mehta --- qapi/block-core.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) -- 2.17.1 diff --git a/qapi/block-core.json b/qapi/block-core.json index 7ccbfff9d0..0e927b247d 100644 --- a/qapi/block-core.json +++ b/qapi/block-core.json @@ -2776,11 +2776,13 @@ # # @threads: Use qemu's thread pool # @native: Use native AIO backend (only Linux and Windows) +# @io_uring: Use linux io_uring (only Linux) # -# Since: 2.9 +# Since: 4.1 ## { 'enum': 'BlockdevAioOptions', - 'data': [ 'threads', 'native' ] } + 'data': [ 'threads', 'native', + { 'name': 'io_uring', 'if': 'defined(CONFIG_LINUX)' } ] } ## # @BlockdevCacheOptions: