Message ID | 20190228085355.9614-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 D7D2B1390 for <patchwork-qemu-devel@patchwork.kernel.org>; Thu, 28 Feb 2019 09:03:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C7CB72E4C3 for <patchwork-qemu-devel@patchwork.kernel.org>; Thu, 28 Feb 2019 09:03:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BBE3C2E54C; Thu, 28 Feb 2019 09:03: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 6806E2E4C3 for <patchwork-qemu-devel@patchwork.kernel.org>; Thu, 28 Feb 2019 09:03:33 +0000 (UTC) Received: from localhost ([127.0.0.1]:34644 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 1gzHbI-0007cU-7x for patchwork-qemu-devel@patchwork.kernel.org; Thu, 28 Feb 2019 04:03:32 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37604) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <elohimes@gmail.com>) id 1gzHTA-0000Ye-GG for qemu-devel@nongnu.org; Thu, 28 Feb 2019 03:55:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <elohimes@gmail.com>) id 1gzHT9-0004Ps-Ck for qemu-devel@nongnu.org; Thu, 28 Feb 2019 03:55:08 -0500 Received: from mail-pl1-x641.google.com ([2607:f8b0:4864:20::641]:40810) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <elohimes@gmail.com>) id 1gzHT7-0004No-7G for qemu-devel@nongnu.org; Thu, 28 Feb 2019 03:55:07 -0500 Received: by mail-pl1-x641.google.com with SMTP id bj4so9422517plb.7 for <qemu-devel@nongnu.org>; Thu, 28 Feb 2019 00:55:04 -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=gSonFKEjc27kmfTJGIHRjZWKd0LSI9IP7HICcppvNFyPe/BdtyQw26QRBS2QW/ELBJ gkZZnCGGeg7rjYe3fA1eEyD7BvnVthPBv0/osEn6wT0XfF/R2+5NYY2kcvuuYNo2JuFh gs3rRo9fzdhNpOn8JE0dDnXEm2zpR7hpWPHIbnMmriINxUCRDldmcvzow78aQjsVRZmQ hvTlNiWxQQnw4ZTo2GD1xFmEbztwhdMOBPbYidiZ8NHN4Bfhm/LWLD3rfAK4BCkLelVU uTOZgx85ehDnWqf6VmaW05J3M6uqapNaToTGGJaBWxl0pQ0JKwU0bzj6yU5HvGp0KpZ5 00lA== 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=BVYhO6+Dnr641xt1NY0YkZnhRVJRV309+e/BykJ7MnxhhUzs8NVZelIYPQ5SAsK01Z rDknF+6WhZ3O6c0CREUJePUy6rCq+tVwi4Ay1jnQFD/9uzLgRgaEqYpWnLyWkcDOqh9n ow1C7awnk6ocdiwpJPaXHLpuo1DzHl8dQzgGoFSFWh2TopOrHEx7tdH7mLGHCW8USG/2 SMTxlfdhXQuqno3OoYzH5OL3r1Ha58ES2f1j5PykVjxXFL5folgI2mb+80xPmPqtMbz+ gLOGbcZ4gPLfdt/CA87lCIUsGLTFVgCMBPJb2rdVQIHp49PO66eIxV+d7eiA6JZhrWVR PfsA== X-Gm-Message-State: AHQUAua2Y+Br4Bgmk0eOWml5Jf6+6rzuHtd43vXla5SAntxZJy0FrX4y xZbtK3uVyt8PVm7jsIyARGk= X-Google-Smtp-Source: AHgI3IYfPVkLqf4MT15fKM44ySRBriPXGZiwUn4brbELh1sWN/K099xLlyoWWRu6Rj53StZfy7qNSQ== X-Received: by 2002:a17:902:8b8b:: with SMTP id ay11mr6915402plb.162.1551344103931; Thu, 28 Feb 2019 00:55:03 -0800 (PST) Received: from localhost ([116.247.112.152]) by smtp.gmail.com with ESMTPSA id b6sm25591101pfo.27.2019.02.28.00.55.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 28 Feb 2019 00:55:03 -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: Thu, 28 Feb 2019 16:53:55 +0800 Message-Id: <20190228085355.9614-8-xieyongji@baidu.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190228085355.9614-1-xieyongji@baidu.com> References: <20190228085355.9614-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::641 Subject: [Qemu-devel] [PATCH v7 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