From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id F22112BB8 for ; Wed, 28 Mar 2018 11:19:45 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Mar 2018 02:19:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,370,1517904000"; d="scan'208";a="28711909" Received: from irsmsx106.ger.corp.intel.com ([163.33.3.31]) by orsmga007.jf.intel.com with ESMTP; 28 Mar 2018 02:19:41 -0700 Received: from irsmsx102.ger.corp.intel.com ([169.254.2.164]) by IRSMSX106.ger.corp.intel.com ([169.254.8.37]) with mapi id 14.03.0319.002; Wed, 28 Mar 2018 10:19:40 +0100 From: "Wodkowski, PawelX" To: Maxime Coquelin , "Kulasek, TomaszX" , "yliu@fridaylinux.org" CC: "Verkamp, Daniel" , "Harris, James R" , "dev@dpdk.org" , "Liu, Changpeng" , "Tan, Jianfeng" Thread-Topic: [dpdk-dev] [PATCH v2] vhost: add virtio configuration space messages Thread-Index: AQHTxeGt/EsYS9/naU2dywBezy2nJ6PlTRuAgAASZYA= Date: Wed, 28 Mar 2018 09:19:39 +0000 Message-ID: References: <20180327151737.6640-1-tomaszx.kulasek@intel.com> <20180327153500.10464-1-tomaszx.kulasek@intel.com> <6c556086-bccc-1e55-d490-c21bcc8a6c4b@redhat.com> In-Reply-To: <6c556086-bccc-1e55-d490-c21bcc8a6c4b@redhat.com> Accept-Language: pl-PL, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNTI0OGVhNmUtNmM2MS00OGEzLTg2MjMtYzdlODI5Y2I4N2JiIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6InpLMkRqKzl0eVRFMk1TNmZiZmtrY3Q2Y3lNaW81UXBMaytPS1ZIbFRFeUk9In0= x-ctpclassification: CTP_IC x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2] vhost: add virtio configuration space messages 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: Wed, 28 Mar 2018 09:19:46 -0000 PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBNYXhpbWUgQ29xdWVsaW4gW21h aWx0bzptYXhpbWUuY29xdWVsaW5AcmVkaGF0LmNvbV0NCj4gU2VudDogV2VkbmVzZGF5LCBNYXJj aCAyOCwgMjAxOCAxMToxMiBBTQ0KPiBUbzogS3VsYXNlaywgVG9tYXN6WCA8dG9tYXN6eC5rdWxh c2VrQGludGVsLmNvbT47IHlsaXVAZnJpZGF5bGludXgub3JnDQo+IENjOiBWZXJrYW1wLCBEYW5p ZWwgPGRhbmllbC52ZXJrYW1wQGludGVsLmNvbT47IEhhcnJpcywgSmFtZXMgUg0KPiA8amFtZXMu ci5oYXJyaXNAaW50ZWwuY29tPjsgV29ka293c2tpLCBQYXdlbFgNCj4gPHBhd2VseC53b2Rrb3dz a2lAaW50ZWwuY29tPjsgZGV2QGRwZG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