Received: by 10.192.165.148 with SMTP id m20csp248526imm; Thu, 19 Apr 2018 20:52:58 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+/1wM5hwg/7Td9LHI416yE07pM6W2jWGmBllRSTerwyYWEfGp0Qe7/UcwnguDOpohhqcgZ X-Received: by 10.101.70.8 with SMTP id v8mr7192976pgq.336.1524196378025; Thu, 19 Apr 2018 20:52:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524196377; cv=none; d=google.com; s=arc-20160816; b=YBhkz1xwpVt+i7B7Sbvv87uIAK2tA37nEpST2onZG4dtSZLgMcooavTmcfeya2mlkz /eqcKa7j3YQfN8oZIC3J3Xx9kQx1gAJyNW/bp5dAJsPZaMnfYahdmUiYvViPFmTza+pG 4YRgyKWwdepiiRNxY8MQ138mdfwTbwbqv6kk3ZRzydbnJWSQYL7Y8PoINW1Eou9BI8A0 2HAa18R0acsUJBPdHLn/PRTL+4Q+fH7Gidoc/BzRNZ5Ff8ck+9TD4vhawtiQzRQ8uOMt ezM/NoHZyYmpAS2XJTky7hvyGLpRCaM7ZCgOKLA1cgCVrXQAtfRGmpol7XUvqEsQbmCa XvZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :dlp-reaction:dlp-version:dlp-product:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:arc-authentication-results; bh=fFhPiKHGaSfh2Yi2zxI3v7qNuh7oLFoTfHBcGz4IJj8=; b=E5BV8t5vOGloM1F40B5EDs6XM9+XPxdBWXr9WU7dwdsGhMVdGbl0HDLX5S5nRN+wQR 1bYIvgIPcxK7yq3NlejAW2GigkeM0xpaOes+4Gz33SnAP1/XR5joLHo/8ONwtCb+ZpJG nNtNVtymwiYo+b4ArfALgxbYjpSBYoUPODiF9XJ5h1ZiU/le635IID7s3+7p6qbGyepu IIGM2STdPNuRVHRYBHEgTmK0eyxIGc+RJSGdj8P3NnhRlhu1qgAijWGdDm7x9aPEmniy cTXkPu3jvNen1SOGodmFHebbG3pajxbRVdWpOrIzRdW4OOdNA97L7lDwfVMmfR4UwoTw gotg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z124si4661627pfb.188.2018.04.19.20.52.44; Thu, 19 Apr 2018 20:52:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754350AbeDTDus (ORCPT + 99 others); Thu, 19 Apr 2018 23:50:48 -0400 Received: from mga04.intel.com ([192.55.52.120]:53564 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754326AbeDTDup (ORCPT ); Thu, 19 Apr 2018 23:50:45 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Apr 2018 20:50:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,299,1520924400"; d="scan'208";a="33314418" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga007.fm.intel.com with ESMTP; 19 Apr 2018 20:50:45 -0700 Received: from fmsmsx151.amr.corp.intel.com (10.18.125.4) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 19 Apr 2018 20:50:45 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by FMSMSX151.amr.corp.intel.com (10.18.125.4) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 19 Apr 2018 20:50:44 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.240]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.210]) with mapi id 14.03.0319.002; Fri, 20 Apr 2018 11:50:42 +0800 From: "Liang, Cunming" To: "Bie, Tiwei" , "Michael S. Tsirkin" CC: Jason Wang , "alex.williamson@redhat.com" , "ddutile@redhat.com" , "Duyck, Alexander H" , "virtio-dev@lists.oasis-open.org" , "linux-kernel@vger.kernel.org" , "kvm@vger.kernel.org" , "virtualization@lists.linux-foundation.org" , "netdev@vger.kernel.org" , "Daly, Dan" , "Wang, Zhihong" , "Tan, Jianfeng" , "Wang, Xiao W" , "Tian, Kevin" Subject: RE: [RFC] vhost: introduce mdev based hardware vhost backend Thread-Topic: [RFC] vhost: introduce mdev based hardware vhost backend Thread-Index: AQHT2FeCbzFJmJH14UuOc3e4MUu6p6QJArRQ Date: Fri, 20 Apr 2018 03:50:41 +0000 Message-ID: References: <20180402152330.4158-1-tiwei.bie@intel.com> <622f4bd7-1249-5545-dc5a-5a92b64f5c26@redhat.com> <20180410045723.rftsb7l4l3ip2ioi@debian> <30a63fff-7599-640a-361f-a27e5783012a@redhat.com> <20180419212911-mutt-send-email-mst@kernel.org> <20180420032806.i3jy7xb7emgil6eu@debian> In-Reply-To: <20180420032806.i3jy7xb7emgil6eu@debian> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZjBiYmFlYjQtM2E3Yy00ZmM5LWFlNDAtYWJkZDQ0ZDc3ODI0IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6Ill5ZVVwQTRFUnJzMUZDV0NWTU9RUzBvTUpESHVnREVzc0FCaFVhOFc3dVk9In0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogQmllLCBUaXdlaQ0KPiBT ZW50OiBGcmlkYXksIEFwcmlsIDIwLCAyMDE4IDExOjI4IEFNDQo+IFRvOiBNaWNoYWVsIFMuIFRz aXJraW4gPG1zdEByZWRoYXQuY29tPg0KPiBDYzogSmFzb24gV2FuZyA8amFzb3dhbmdAcmVkaGF0 LmNvbT47IGFsZXgud2lsbGlhbXNvbkByZWRoYXQuY29tOw0KPiBkZHV0aWxlQHJlZGhhdC5jb207 IER1eWNrLCBBbGV4YW5kZXIgSCA8YWxleGFuZGVyLmguZHV5Y2tAaW50ZWwuY29tPjsNCj4gdmly dGlvLWRldkBsaXN0cy5vYXNpcy1vcGVuLm9yZzsgbGludXgta2VybmVsQHZnZXIua2VybmVsLm9y ZzsNCj4ga3ZtQHZnZXIua2VybmVsLm9yZzsgdmlydHVhbGl6YXRpb25AbGlzdHMubGludXgtZm91 bmRhdGlvbi5vcmc7DQo+IG5ldGRldkB2Z2VyLmtlcm5lbC5vcmc7IERhbHksIERhbiA8ZGFuLmRh bHlAaW50ZWwuY29tPjsgTGlhbmcsIE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