Message ID | 20190320112646.3712-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 DB0B515AC for <patchwork-qemu-devel@patchwork.kernel.org>; Wed, 20 Mar 2019 11:33:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B2A7229B54 for <patchwork-qemu-devel@patchwork.kernel.org>; Wed, 20 Mar 2019 11:33:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A74E329B57; Wed, 20 Mar 2019 11:33:35 +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 51E4429B54 for <patchwork-qemu-devel@patchwork.kernel.org>; Wed, 20 Mar 2019 11:33:35 +0000 (UTC) Received: from localhost ([127.0.0.1]:46473 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 1h6ZTS-0003pp-DE for patchwork-qemu-devel@patchwork.kernel.org; Wed, 20 Mar 2019 07:33:34 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49523) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <elohimes@gmail.com>) id 1h6ZNr-0007wG-J7 for qemu-devel@nongnu.org; Wed, 20 Mar 2019 07:27:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <elohimes@gmail.com>) id 1h6ZNq-00043t-Pp for qemu-devel@nongnu.org; Wed, 20 Mar 2019 07:27:47 -0400 Received: from mail-pf1-x443.google.com ([2607:f8b0:4864:20::443]:45756) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <elohimes@gmail.com>) id 1h6ZNq-000432-ES for qemu-devel@nongnu.org; Wed, 20 Mar 2019 07:27:46 -0400 Received: by mail-pf1-x443.google.com with SMTP id v21so1705475pfm.12 for <qemu-devel@nongnu.org>; Wed, 20 Mar 2019 04:27:46 -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=eKXI+nTrVO5bzrZScLYB5tSJp0wzkrrEgJ96mqBPxXE=; b=SdKhJqvLnTJsQ6j1j8H2XGsfp/Ug9E+Jr8HNW+pXvOm/BwYTZ1VFitZKAt0E+X8f6I BxCl33Scu/gDnklmLM+lPoth2L0CmjJtvHq2gS1SsDZQ7aLsxkdRs1PHIDT75ZuwVw87 koZkRSc7MOjmChevekDBrenefcsaUXc3+tylxORwFiiDtmShX+Hg/bNysQcqBLeFHJbu puA/9tTFACrOZtzB+a898W2qZWtwopURwdy7OOdT6U2WxhJQo2Cn+pZ1F5H+N6aQ7mNF fYTJfvZuJBrcIhzcG9rAHPcPCx04plFxGbBySEMNkIGSvij57HR85m4f1om1/ci27uVj eDSA== 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=Ef9v2W8hM4N5JR/4cHOcEfJ+Db3aQaVGDzdQi+3kJ13QNpHeqACHGNE+AvC1L8kqxL CrsTiBoaBByUwWpnfveB46co+9iUqaMryFHTQcdimjRO3FBKpNysGEFp9WFOJEYJPs+W m/0Pfwn74mi+mkKsrA6z0pGSyelf7ILMS9W5mxfHpiU7o3xbM/H5j5qKwjXNrO2V7VU3 GfujWQqhJpoJ+CP3eWCNXT3iaM75DxZ+gmUxP9vKS82NzyntZnwbFq6b8RpxLIC7a47b QAN7CW1cAYzNv7umRBhZF4tkYEc7X4or/Am0uAUwcpQF5ArkydgWuzP/95BB/IwDbOit G/3A== X-Gm-Message-State: APjAAAX+xPGsGkf1U1knRIQVsL1Ky46EHqnInLr9ID8G9Hcz69oywLy+ oQ+W71qZeUSEucxOifjuzVo= X-Google-Smtp-Source: APXvYqzW6vGflHQzr+nIBm4I25Y4zKmIjRX3nVAn5+CSWml7OgbXvlPhiFyKzR8aQx0z9tkE1F7rfA== X-Received: by 2002:a62:480d:: with SMTP id v13mr4270072pfa.125.1553081265716; Wed, 20 Mar 2019 04:27:45 -0700 (PDT) Received: from localhost ([116.247.112.152]) by smtp.gmail.com with ESMTPSA id k9sm4001872pfc.57.2019.03.20.04.27.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Mar 2019 04:27:45 -0700 (PDT) From: elohimes@gmail.com X-Google-Original-From: xieyongji@baidu.com To: mst@redhat.com, kwolf@redhat.com, mreitz@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, changpeng.liu@intel.com Date: Wed, 20 Mar 2019 19:26:46 +0800 Message-Id: <20190320112646.3712-8-xieyongji@baidu.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190320112646.3712-1-xieyongji@baidu.com> References: <20190320112646.3712-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::443 Subject: [Qemu-devel] [PATCH v8 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