Message ID | 20190218102748.2242-8-xieyongji@baidu.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> 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 E7B6D6C2 for <patchwork-qemu-devel@patchwork.kernel.org>; Mon, 18 Feb 2019 10:35:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D28932A029 for <patchwork-qemu-devel@patchwork.kernel.org>; Mon, 18 Feb 2019 10:35:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C445F2A17A; Mon, 18 Feb 2019 10:35:34 +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=-2.7 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI 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 55F0C2A170 for <patchwork-qemu-devel@patchwork.kernel.org>; Mon, 18 Feb 2019 10:35:34 +0000 (UTC) Received: from localhost ([127.0.0.1]:56058 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org>) id 1gvgGr-0004Pc-J5 for patchwork-qemu-devel@patchwork.kernel.org; Mon, 18 Feb 2019 05:35:33 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43477) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <elohimes@gmail.com>) id 1gvgAd-0000ND-LV for qemu-devel@nongnu.org; Mon, 18 Feb 2019 05:29:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <elohimes@gmail.com>) id 1gvgAb-0006WG-UK for qemu-devel@nongnu.org; Mon, 18 Feb 2019 05:29:07 -0500 Received: from mail-pl1-x642.google.com ([2607:f8b0:4864:20::642]:44334) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <elohimes@gmail.com>) id 1gvgAb-0006CO-GK for qemu-devel@nongnu.org; Mon, 18 Feb 2019 05:29:05 -0500 Received: by mail-pl1-x642.google.com with SMTP id c4so3551772pls.11 for <qemu-devel@nongnu.org>; Mon, 18 Feb 2019 02:28:35 -0800 (PST) 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=eKXI+nTrVO5bzrZScLYB5tSJp0wzkrrEgJ96mqBPxXE=; b=G2VPoWxDBbb+BQZ80WslSpFcXmX5sWPisfqxDuI39m1a/Co7ReNuDDswshYWEHehhl 0MvNaApGWTSV7MlNAcu5umeBMQANrQQyDWEmDqA6+28+HXA8sUvWlgdlUOSX/r2K4DBY wTovG0s3L+pPlpSAMo8EMqJJnJoNflyptdZphfU8WWGPmfej2Bp3eXBpZtzbXgw7YeU2 99kpVbhqWX9cCflPDZkN3mT5U5XwIEpWVC3StjHuU4YA89RxtvX+zjDHRXr7GjsXKHd5 HQoOk48Y2p0j1utezidKjXnKx079S+Y1F85nNob+3CIuyjU6DU9YPgZhEjrFuiBu3+m+ 3kjA== 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=eKXI+nTrVO5bzrZScLYB5tSJp0wzkrrEgJ96mqBPxXE=; b=YgpvOT2Tvohld8qJG4bfOgXQ/zoCqFu66b4X1rnkFprCTUjCORWpV6a03NudbQRblI /hcgriFQMXqyqaOqekxbg95mbnqV1xG9DBZBMGkxJlkMwY2BessRapexrj5m5wsWMrqc O93/a9Zkb2vJ9XZtN2s0Qy0RFKHRJLdBOPV03HKeqVPaWRnfxj0Y4ZLl5mX9bVTeeBP5 jSEC9+QlZO0+emLKCLReqSU1aA9dRhiTsKBaqMymTvw2927Zlwn4M5fdr936OrtAG7eM YqjiaTStbV/o1nHNahn9NiZcGpaHNrwpkidn2hzj007ubkWoD3EKboplHYK9NWRXrjo7 4Jrw== X-Gm-Message-State: AHQUAubUaUycHCjfartsmnl1f9PKoFAX2K/3KHq+57eeOfSOXtg3USr1 W4RR/IyEz5sgdUwmnnUKRvQ= X-Google-Smtp-Source: AHgI3IZCazEX3wFYIIiNpByPSvxmnudPx1EuZF6NYZAK0eVtUt2dxubSPv5AGADu88azkpD49/wDwQ== X-Received: by 2002:a17:902:e3:: with SMTP id a90mr24831825pla.82.1550485714771; Mon, 18 Feb 2019 02:28:34 -0800 (PST) Received: from localhost ([116.247.112.152]) by smtp.gmail.com with ESMTPSA id h2sm4121864pfo.163.2019.02.18.02.28.34 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Feb 2019 02:28:34 -0800 (PST) From: elohimes@gmail.com X-Google-Original-From: xieyongji@baidu.com To: mst@redhat.com, stefanha@gmail.com, marcandre.lureau@redhat.com, berrange@redhat.com, jasowang@redhat.com, maxime.coquelin@redhat.com, yury-kotov@yandex-team.ru, wrfsh@yandex-team.ru Date: Mon, 18 Feb 2019 18:27:48 +0800 Message-Id: <20190218102748.2242-8-xieyongji@baidu.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190218102748.2242-1-xieyongji@baidu.com> References: <20190218102748.2242-1-xieyongji@baidu.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::642 Subject: [Qemu-devel] [PATCH v6 7/7] contrib/vhost-user-blk: enable inflight I/O tracking X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 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: <http://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> Cc: nixun@baidu.com, qemu-devel@nongnu.org, lilin24@baidu.com, zhangyu31@baidu.com, chaiwen@baidu.com, Xie Yongji <xieyongji@baidu.com> Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
vhost-user-blk: Add support for backend reconnecting
|
expand
|
diff --git a/contrib/vhost-user-blk/vhost-user-blk.c b/contrib/vhost-user-blk/vhost-user-blk.c index 43583f2659..86a3987744 100644 --- a/contrib/vhost-user-blk/vhost-user-blk.c +++ b/contrib/vhost-user-blk/vhost-user-blk.c @@ -398,7 +398,8 @@ vub_get_features(VuDev *dev) static uint64_t vub_get_protocol_features(VuDev *dev) { - return 1ull << VHOST_USER_PROTOCOL_F_CONFIG; + return 1ull << VHOST_USER_PROTOCOL_F_CONFIG | + 1ull << VHOST_USER_PROTOCOL_F_INFLIGHT_SHMFD; } static int