Message ID | 20190122083152.10705-7-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 2BBA61575 for <patchwork-qemu-devel@patchwork.kernel.org>; Tue, 22 Jan 2019 08:39:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1B9DD2A527 for <patchwork-qemu-devel@patchwork.kernel.org>; Tue, 22 Jan 2019 08:39:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 101822A533; Tue, 22 Jan 2019 08:39:53 +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 B46F72A54E for <patchwork-qemu-devel@patchwork.kernel.org>; Tue, 22 Jan 2019 08:39:52 +0000 (UTC) Received: from localhost ([127.0.0.1]:40783 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 1glrb5-0004x0-Ty for patchwork-qemu-devel@patchwork.kernel.org; Tue, 22 Jan 2019 03:39:51 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46620) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <elohimes@gmail.com>) id 1glrUF-0000Hv-Nx for qemu-devel@nongnu.org; Tue, 22 Jan 2019 03:32:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <elohimes@gmail.com>) id 1glrUF-0002m8-1l for qemu-devel@nongnu.org; Tue, 22 Jan 2019 03:32:47 -0500 Received: from mail-pl1-x642.google.com ([2607:f8b0:4864:20::642]:36022) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <elohimes@gmail.com>) id 1glrUE-0002lo-SK for qemu-devel@nongnu.org; Tue, 22 Jan 2019 03:32:46 -0500 Received: by mail-pl1-x642.google.com with SMTP id g9so11125079plo.3 for <qemu-devel@nongnu.org>; Tue, 22 Jan 2019 00:32:46 -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=GCzxU10Lhd02j9u3ftj0tauCa1CXeDSJ4gUQXxOCRi/448SHSCbzHX1tEWPCXcAC6F kCXEH9i6Zqvz1K4bKJFT8THandtaV5Eqt5FkgSQfz9VDo/oKj/H43yrcBU6xM7lvOwQG kHrb3rjfLUKyX5KR0iUo8QHCmHQH+nbFj5wQvW1RlGuY4pmAuJCw9pR+EgKo5i8x16on A7noc/EZFXUS9pA02oi2b0n/V5JKsCOnQL+pvSq5bX6ZkyDaIAFL1Fz09VLZ0SbL2mG4 /cWeZo5CU1rtd452mnVrteOUPrxhgydmCzWe7KweA3VqOZLGGpSkdPDLGdvzGVjVOVJ7 VvIA== 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=VicfoUhV+lgHqfz4faNdz5ULzvenBgXZxwMLSpoDVirocYttVKy3v+04od0kkyTKub AKo826wP2NzZ4/bx0xuF+/O20wiorLqeLep1gU463IwSIr1FgH2qGo9EIz0/ec7xrTAo eeYq0PfEqV2kD0VAuD15cTT76fZTWvlqB/pJPYm9LzFDF396f91ZWYdHGeL6JToVl6Hd AAy3FS1fM9qWLWZsIeB+JwBHxdntwew6rzEeF771jGC7g85pCzO8FYvY8WNKeWnkxAXN FmbQ2H42OfXcr9LmHGYlxASgi3K811PoiEPJY1LYHey0ui6Ygp/Yrg99LsRmWeHoXuJW wVcQ== X-Gm-Message-State: AJcUukdTmO6T9b0vACCfsXvXk0eoM/hHSadtDprRQFneg/6dgxtOaCkt pXSOVW5Am4nZ0XyPPL+MLtU= X-Google-Smtp-Source: ALg8bN5EWl1SmxBXPKzsXNoCgc84xp/5KfyFKrzRxnCV6nNncJr1TpkTjM47A9yawKrDXa2usf32Nw== X-Received: by 2002:a17:902:9a81:: with SMTP id w1mr32025235plp.19.1548145966136; Tue, 22 Jan 2019 00:32:46 -0800 (PST) Received: from localhost ([116.247.112.152]) by smtp.gmail.com with ESMTPSA id w3sm22266320pge.8.2019.01.22.00.32.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 22 Jan 2019 00:32:45 -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: Tue, 22 Jan 2019 16:31:52 +0800 Message-Id: <20190122083152.10705-7-xieyongji@baidu.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190122083152.10705-1-xieyongji@baidu.com> References: <20190122083152.10705-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 v5 6/6] 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