From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 42D322BA4 for ; Thu, 22 Feb 2018 09:40:13 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Feb 2018 00:40:12 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,377,1515484800"; d="scan'208";a="19455418" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga007.jf.intel.com with ESMTP; 22 Feb 2018 00:40:11 -0800 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 22 Feb 2018 00:40:11 -0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.116]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.125]) with mapi id 14.03.0319.002; Thu, 22 Feb 2018 16:40:09 +0800 From: "Tan, Jianfeng" To: Maxime Coquelin , "dev@dpdk.org" CC: "yliu@fridaylinux.org" Thread-Topic: [PATCH 4/4] vhost: avoid populate guest memory Thread-Index: AQHTpUhZI9plaVBW5EKVcd3gs/n3DaOrtEqAgAQNRiD//9sxgIAAiEKw Date: Thu, 22 Feb 2018 08:40:08 +0000 Message-ID: References: <1518580892-32656-1-git-send-email-jianfeng.tan@intel.com> <1518580892-32656-5-git-send-email-jianfeng.tan@intel.com> <161752fc-9dd8-f952-eb00-ff1cb6e5fbdd@redhat.com> <87337fa8-66fb-f9ec-45c2-78042bb47759@redhat.com> In-Reply-To: <87337fa8-66fb-f9ec-45c2-78042bb47759@redhat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 4/4] vhost: avoid populate guest memory X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Feb 2018 08:40:14 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogTWF4aW1lIENvcXVlbGlu IFttYWlsdG86bWF4aW1lLmNvcXVlbGluQHJlZGhhdC5jb21dDQo+IFNlbnQ6IFRodXJzZGF5LCBG ZWJydWFyeSAyMiwgMjAxOCA0OjI2IFBNDQo+IFRvOiBUYW4sIEppYW5mZW5nOyBkZXZAZHBkay5v cmcNCj4gQ2M6IHlsaXVAZnJpZGF5bGludXgub3JnDQo+IFN1YmplY3Q6IFJlOiBbUEFUQ0ggNC80 XSB2aG9zdDogYXZvaWQgcG9wdWxhdGUgZ3Vlc3QgbWVtb3J5DQo+IA0KPiANCj4gDQo+IE9uIDAy LzIyLzIwMTggMDM6NDIgQU0sIFRhbiwgSmlhbmZlbmcgd3JvdGU6DQo+ID4gSGkgTWF4aW1lLA0K PiA+DQo+ID4+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+ID4+IEZyb206IE1heGltZSBD b3F1ZWxpbiBbbWFpbHRvOm1heGltZS5jb3F1ZWxpbkByZWRoYXQuY29tXQ0KPiA+PiBTZW50OiBU dWVzZGF5LCBGZWJydWFyeSAyMCwgMjAxOCA0OjQ1IEFNDQo+ID4+IFRvOiBUYW4sIEppYW5mZW5n OyBkZXZAZHBkay5vcmcNCj4gPj4gQ2M6IHlsaXVAZnJpZGF5bGludXgub3JnDQo+ID4+IFN1Ympl Y3Q6IFJlOiBbUEFUQ0ggNC80XSB2aG9zdDogYXZvaWQgcG9wdWxhdGUgZ3Vlc3QgbWVtb3J5DQo+ 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