Message ID | 20190109112728.9214-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 83AE86C5 for <patchwork-qemu-devel@patchwork.kernel.org>; Wed, 9 Jan 2019 11:31:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 73B0F28F5B for <patchwork-qemu-devel@patchwork.kernel.org>; Wed, 9 Jan 2019 11:31:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 67D0B28F5C; Wed, 9 Jan 2019 11:31:33 +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 219ED28F4B for <patchwork-qemu-devel@patchwork.kernel.org>; Wed, 9 Jan 2019 11:31:33 +0000 (UTC) Received: from localhost ([127.0.0.1]:35436 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 1ghC56-0003sd-F2 for patchwork-qemu-devel@patchwork.kernel.org; Wed, 09 Jan 2019 06:31:32 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51707) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <elohimes@gmail.com>) id 1ghC1s-0000zg-N5 for qemu-devel@nongnu.org; Wed, 09 Jan 2019 06:28:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <elohimes@gmail.com>) id 1ghC1s-0004Lf-2c for qemu-devel@nongnu.org; Wed, 09 Jan 2019 06:28:12 -0500 Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]:36978) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <elohimes@gmail.com>) id 1ghC1r-0004LB-Sq for qemu-devel@nongnu.org; Wed, 09 Jan 2019 06:28:12 -0500 Received: by mail-pl1-x634.google.com with SMTP id b5so3464620plr.4 for <qemu-devel@nongnu.org>; Wed, 09 Jan 2019 03:28:11 -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=uO8ERLhA7hT70caOpcFx0tbdhBCcwIuTDUTqrC/0Y5Y=; b=umunUNOFNuUHFUETbyHksVOrK+iIgAu9/AFsdr8Gw+Fu+sLipnrseMSJEGzputkzuF surw3aPTZY5Lg9aShYCB2OGKa7uN1wsi0nlLYcXLVPtv8hw34fqGsuTuII20x+0HZ7sB 2dwM+zP3G/CrErU3yXSOro1IE3l4W8gFQpCqauOb4ZXnZLC7r5DKQIXP7lMGpzw0/O7/ VWegbBXeFITLi+7YhxJmqP0O34gsdyjjLAfIVfxQLY4ODoyTEhf82UpBb7lJ+4HAFQNA UZd+76m62/OHh+NoJVUTBF7h27x5MSEgElgcgcBf1zxCdZPlbeHOjLNfofg6wxW8K2Z4 c75w== 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=uO8ERLhA7hT70caOpcFx0tbdhBCcwIuTDUTqrC/0Y5Y=; b=QvSucm8SjWxjCeuvj7bk8LiNFr3lZi/ZzpQmkVkLkMZrmdZ0247+UoTtSKmRPwTw1a fAYUZg4HCDKS/gF2+R/xYazfnmvCM3DDIZubqXRDTpdU5ehV6NYU/8DRu06A1WRqhFr/ jG/404irWqWnrgacNroDZPPvEs8dur4BPc+BJmMehRAlE8TYdWM835m6kHs2JeEufD+P 2mR33qTpKOHOGlLZPZXDqZFoAiIaMSsbeHCaoTNX7yefjkVtcxeXHsYE0Gn6lUfpN22N uizfizBekZYQy1DkvA5EDbTEas896NTlqKcVPWLdE3q1Cye0SL5iIXKMnjbObFP2Ox8h qzKw== X-Gm-Message-State: AJcUukdT+LqOfyPS9OxpaHwa8sv3KZPeuRRzUWZSIq4nxsyCIu5ZghgL K3W9uYY9HNE43wnZekekMhI= X-Google-Smtp-Source: ALg8bN5B1hLuVRLvnvwF0LDM1g6t2PZuT2kjPypjhKMsUAn1VZ4Zvsg/utV1hxAZja1A/L1lJf27vQ== X-Received: by 2002:a17:902:784d:: with SMTP id e13mr5749217pln.188.1547033290963; Wed, 09 Jan 2019 03:28:10 -0800 (PST) Received: from localhost ([116.247.112.152]) by smtp.gmail.com with ESMTPSA id d25sm118663565pfe.40.2019.01.09.03.28.10 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 09 Jan 2019 03:28:10 -0800 (PST) From: elohimes@gmail.com X-Google-Original-From: xieyongji@baidu.com To: mst@redhat.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: Wed, 9 Jan 2019 19:27:28 +0800 Message-Id: <20190109112728.9214-8-xieyongji@baidu.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190109112728.9214-1-xieyongji@baidu.com> References: <20190109112728.9214-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::634 Subject: [Qemu-devel] [PATCH v4 for-4.0 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 858221ad95..8cc033946a 100644 --- a/contrib/vhost-user-blk/vhost-user-blk.c +++ b/contrib/vhost-user-blk/vhost-user-blk.c @@ -327,7 +327,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