Message ID | 20181218100002.11219-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 2DA066C2 for <patchwork-qemu-devel@patchwork.kernel.org>; Tue, 18 Dec 2018 10:05:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1ECA12A3E4 for <patchwork-qemu-devel@patchwork.kernel.org>; Tue, 18 Dec 2018 10:05:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 131B62A3EA; Tue, 18 Dec 2018 10:05:57 +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=-7.7 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B65722A3E4 for <patchwork-qemu-devel@patchwork.kernel.org>; Tue, 18 Dec 2018 10:05:56 +0000 (UTC) Received: from localhost ([::1]:52881 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 1gZCGB-0002Lc-N8 for patchwork-qemu-devel@patchwork.kernel.org; Tue, 18 Dec 2018 05:05:55 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53307) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <elohimes@gmail.com>) id 1gZCBu-0007yV-N3 for qemu-devel@nongnu.org; Tue, 18 Dec 2018 05:01:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <elohimes@gmail.com>) id 1gZCBp-0001xg-4p for qemu-devel@nongnu.org; Tue, 18 Dec 2018 05:01:30 -0500 Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]:37016) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <elohimes@gmail.com>) id 1gZCBj-0001pw-0O for qemu-devel@nongnu.org; Tue, 18 Dec 2018 05:01:20 -0500 Received: by mail-pf1-x429.google.com with SMTP id y126so7904420pfb.4 for <qemu-devel@nongnu.org>; Tue, 18 Dec 2018 02:01:07 -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=+Re0b4zNNjUXLr7rKoznUrCpDS04NWSaUgo9sUZ+bhA=; b=DZhdfHYMB5WcfmjuWtaUj7g/zjJR9RwGfj41YF4G3ipSzeMYEbpp9RR3nlTpzc8RtH dE7sqUtFXmn4Xyjxb8jkeYaExGXc/UccPzekZWeDh9r0RYY+CrPLA9gNRGBpTXVgko2K aWbQRg0g2zn7KKDF4Z7BgGDmZViqPvHkMj6Yj8nDCUn4nxj4wpABb/ASIEehGRY62zmL 042+aNbLbgbwdH6uqiN5mpjwb/8dCYx7EMYdqmFJXRjpc1SbeyWfr5QpiQ3qT3cVKhli oh5fDujlLTANcK9v5KvmlQ7O2YSj10OP1CCMNuTO9zjYVAH8bQw8WtgCB+f+JzYAchiw D4rQ== 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=+Re0b4zNNjUXLr7rKoznUrCpDS04NWSaUgo9sUZ+bhA=; b=WO+SpGRGIGZVcZQDPFb9aLsQOmHFjAl8GkVfwMvr4Wh729wO4f9E2848m12PhUrLFi 5T6KWrIOvS3lL55I9p12tuzvoMfzl3SGkTzB3cnRm/TyT0F+Iz6bJavDdcWfKX6YjQTW /5OmYJAB2I/4JIqzGKgNahc4J5+7MhzV0cUkSoQCGQs5bCTLrsAVWPwkPIr4yVBG+xKg nOlYURhRVEEWOBsMFlqRwN9qc9MHne9PG98rMmSeJb/eNVHqLgR99AMkLeFcGtpMp6ad iIISou/ev4u2lZiDwtdW49ARJhs34+Hr8J4Y2fjV6ImWy4ZSU12MIZWjIz6VR16CuvT8 XVcQ== X-Gm-Message-State: AA+aEWbsMjocxiawbl46nCBybsz70olRjJQGTErk9BJMRjsvd/RMhWD0 95xfMv4NTgDsi4i/soFV2zI= X-Google-Smtp-Source: AFSGD/VFZyIYC05+Dqm6LvgCr7HexLTEas7+Xake0bXBCC7+ikd8nPFr09bgpwmpjunpuWzcFIsvwg== X-Received: by 2002:a63:e915:: with SMTP id i21mr14752266pgh.409.1545127266296; Tue, 18 Dec 2018 02:01:06 -0800 (PST) Received: from localhost ([116.247.112.152]) by smtp.gmail.com with ESMTPSA id v13sm19592437pff.20.2018.12.18.02.01.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 18 Dec 2018 02:01:05 -0800 (PST) From: elohimes@gmail.com X-Google-Original-From: xieyongji@baidu.com To: mst@redhat.com, marcandre.lureau@redhat.com, jasowang@redhat.com, yury-kotov@yandex-team.ru, maxime.coquelin@redhat.com Date: Tue, 18 Dec 2018 18:00:02 +0800 Message-Id: <20181218100002.11219-8-xieyongji@baidu.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181218100002.11219-1-xieyongji@baidu.com> References: <20181218100002.11219-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::429 Subject: [Qemu-devel] [PATCH v2 for-4.0 7/7] contrib/vhost-user-blk: enable inflight I/O recording 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 571f114a56..b144490fd6 100644 --- a/contrib/vhost-user-blk/vhost-user-blk.c +++ b/contrib/vhost-user-blk/vhost-user-blk.c @@ -328,7 +328,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_SLAVE_SHMFD; } static int