From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 77978A0A0A; Fri, 22 Jan 2021 10:24:38 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 13307140E1D; Fri, 22 Jan 2021 10:24:38 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id F38D3140E19 for ; Fri, 22 Jan 2021 10:24:35 +0100 (CET) IronPort-SDR: ThJ2tRa/LcH3yEVhLq/+bt/aS/O1+1qO7YR8/umDb96Gbxn14BIIiUZ+vxUS5dDvmPNTDvKcu+ eJaZf5LZFDhw== X-IronPort-AV: E=McAfee;i="6000,8403,9871"; a="166523879" X-IronPort-AV: E=Sophos;i="5.79,366,1602572400"; d="scan'208";a="166523879" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jan 2021 01:24:34 -0800 IronPort-SDR: HB5U4aPUBMO7Cmmanp1jJhazmcEFH+vlMzx0NHZqu462PSXF6RXh04b94h+Aak/zlrtl50yd4t H5bUJKM1pndg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,366,1602572400"; d="scan'208";a="467779160" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by fmsmga001.fm.intel.com with ESMTP; 22 Jan 2021 01:24:34 -0800 Received: from orsmsx607.amr.corp.intel.com (10.22.229.20) by ORSMSX606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 22 Jan 2021 01:24:33 -0800 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX607.amr.corp.intel.com (10.22.229.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 22 Jan 2021 01:24:33 -0800 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Fri, 22 Jan 2021 01:24:33 -0800 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.176) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Fri, 22 Jan 2021 01:24:32 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kwShFrJVaynBxb6BXCKXm1j+j7WLBcxxlUhpVkVBB9lmUX1OhGW3LuLVvu7lW4uGaUgMjd2nBt54OLuwCNn9X2T8DDXPLR0imX6je1wBG7fUhIwDgX0LlA9VJ5oIoGc8IzWpzXHld1L1In37wUEYQ+a1sH1m6l8Y2FYVuAJGRFPlmUI6/Kz6Nckxq8IKSvowMo1eNel4wrMJ2PPGkRHs1KT7kVhAqWdEZFSUIJ9tuoXsCDKPOIFFkVy7eri99LRNXXTzFeAvuomthjX7BP8ejbxNH6QT6Um/UiNOIRrjduKgVdiYLTgW00+p/BGrfrjafQwfIiUd6bTyASKb0WA6Zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=k+1x/PyGzqFFo7aGWyjp+sEMLfvQoBhzZqgz4U72vmc=; b=lPXQhQdiQYUfDSmgSuK9qw4sMLE0Cjn8hvXgvgG5e2JrqrU/zIYM3bSatp1nlfhs0m3NAQqACocmmpGMlYfneYyxvlzp99OoUCI1ksWgxCfOnM6DRZgYOuFSIscKX7JI3jDkIk3D7nCMeNdjThDDVCmxIq7vpXgQKO2vPnJSgGpl0uBwHYM+HH37JRs5SUp5t0MLaO2k48Fc1fhbchw+voHczs/J+fyN1TgrvgfTi7CT0rWCHZNtyogrY6lqtemKbT0xMYH4PZScY6dvuvAJ3e+zmeEien7MM1rp11h44df4ZyB3u2mzRFhJH3DpmYQxhrihG3m7SIDQJ2YhNASQDw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=k+1x/PyGzqFFo7aGWyjp+sEMLfvQoBhzZqgz4U72vmc=; b=r/5VXGfDDlSIuoFRegHKEdXWhgTlNGwoI62XzJia0xNUbnBxEq/nBOPhbSHuKQSbZVK7sLEpScuvnXxsyky8sNaDqmEpMePPambgrmwvyJBSwym9uPRLCznZ6glv0daUhvmiieMG6hylmK6sfC6YNZoq5oFaDQb38lDOqwUMWLk= Received: from MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) by MN2PR11MB3566.namprd11.prod.outlook.com (2603:10b6:208:ec::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3784.12; Fri, 22 Jan 2021 09:24:31 +0000 Received: from MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::4c5:a27c:aab2:a2ed]) by MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::4c5:a27c:aab2:a2ed%7]) with mapi id 15.20.3763.014; Fri, 22 Jan 2021 09:24:31 +0000 From: "Xia, Chenbo" To: Maxime Coquelin , "dev@dpdk.org" , "olivier.matz@6wind.com" , "amorenoz@redhat.com" , "david.marchand@redhat.com" Thread-Topic: [PATCH v2 44/44] net/virtio: handle Virtio-user setup failure properly Thread-Index: AQHW7qoY04hOWUtW00KWw35FQQdJLaozYTKg Date: Fri, 22 Jan 2021 09:24:31 +0000 Message-ID: References: <20210119212507.1043636-1-maxime.coquelin@redhat.com> <20210119212507.1043636-45-maxime.coquelin@redhat.com> In-Reply-To: <20210119212507.1043636-45-maxime.coquelin@redhat.com> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.198.147.218] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 2efc8f07-a6a5-49e5-e927-08d8beb78672 x-ms-traffictypediagnostic: MN2PR11MB3566: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:422; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: QpWJFXCS4UWwNEuABDKXffTUnp1PPvkGhLuPRoTZEnllDIESWdWqEkAlYEHhcdmCaLDSCxhuIzS+F/1BnDUV+EIGxwsPCxooqFXvuQkHDPjEZgqD5C3/cAldHb3J0AuD3usyTEKndPk9kwIGystLHX/C0a3WUqxsAHIrvqVFXXYo3sjtZHet3FpmZNiwSHWdv7XGTzPyBBKQjHwSGsovAmHkgMZuTRL85L3m0nTyeDPIO0BIWkY25I9KyVaIw+ilCQIURQkWeE5+VBFLcrzwW2acdBpatOt0fagmzF56tUlIY7o7UCBwfDaGLjoy2CDh23DRXjr7pAcjCrITQUUtx9dvvJAMefsMq/3Fm78ck8V/7IOdxLqd4J9W2b2pQrcJnEYAY3jopTXMmJ8kB/tRM7b8hA3BCJSYtApVYwxJbJOUL5dVzj1xTiQt4Kqz9Atf8CD9OHnVXty0W7xzhHW4KjhSbFa4SQV2F1dIZnMlx7dzfhARzCk0HPRPiY5ONy9iJv4TtyU4zt9ElMcRrV/d4Q== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR11MB4063.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(376002)(366004)(39860400002)(136003)(346002)(66556008)(33656002)(9686003)(316002)(66446008)(53546011)(2906002)(5660300002)(110136005)(52536014)(26005)(55016002)(64756008)(186003)(83380400001)(8936002)(8676002)(7696005)(71200400001)(6506007)(66946007)(76116006)(66476007)(86362001)(478600001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?utf-8?B?YlFmVHVqWGd2NnNhaEpnWnR0eUdYWTZUUnQ3K1RNdThEVlRZei9tOWxsWFJs?= =?utf-8?B?Y2dRem1lNWtyWDlPZnVVNklsVGZxV2FGK0VSTnk4L1A2UWptVVFETUV6VWNa?= =?utf-8?B?RWNTRXJQTVlDdlBSN1FUb3N1eEZKOVlPQXQ5SGp4RW05U2JPV1E5RVovalpF?= =?utf-8?B?amQ1cHIvV0QwVXlPQk5YMmNWSVJoVmlxdlliRlZuZGlUbXZISmdoL0dyVnVx?= =?utf-8?B?ZGVQOUJWYWR4dWJkNmM5NURjbGw5NmUyZk00T01kbERSWGJQb3FLRmhjNy9p?= =?utf-8?B?ZThVQzlJUEFQQ1VWbmp0Y2V5UEJsWDhTY1l6ZjVQdkExa1JncjVabjloS29z?= =?utf-8?B?SDNzVjI2S2xFRndrbExUaGdEaC9VNWlQbWFGdFRPemlyQ2FGSk50MlVIdzhP?= =?utf-8?B?UUY2NXpFYWFxcG4zSEdHb1VteWUybUpQNGUva1I2RklOWTVpcHBIaW8zbU5B?= =?utf-8?B?Skl6VDZYVTZoUDlVTVJJcXUvWm1IQ2FDTmdzblI0WG1POUZKekN3MjZBWXJK?= =?utf-8?B?VVozMHQwMTIwSHVtVmQ1cXlDbXFMZmtQQStnZzMwUkN5dHRueHNhMExickRj?= =?utf-8?B?M0VqdEloSTFZaU1JMWdFekRRSGwySk1FSUpYdjY4NkUxY2VZaS9QeUR6YVRk?= =?utf-8?B?dHc0MzAyRG9FcnhxRVFxNVkrYzJ5Rmh4ZVA2b0U3Zm91dE12VnVGa2dYOERZ?= =?utf-8?B?c2FwQi85V1pheVFINlhjY29HT1E5djAxZGp1SjRXRjl0K1JKRkJVQkhvekU1?= =?utf-8?B?YlZuNVAwWFVtNHM5UDFBYmlYandZeGFkVGdGK1BNaTUveEY1K09xeHFRS3Nq?= =?utf-8?B?T20zWloxTGVIMlJieFlNMkFOZktsbzhjWTdKTXlEWSswcFhEc0lFKzc1VG5y?= =?utf-8?B?cVpnWWt2eXRUa3h5eXgxTmFvRWdjcHBVNjdqcmMzanArZU1wOEhYSmM0N0Zl?= =?utf-8?B?Y0c0aFM4T0hSd2NsMHJicEt5enEwR1F6YiszbWl1ZUJMVkZSOGdrL1dBV2xz?= =?utf-8?B?WG1maTlJb0tnTGJhMFczR0ZUekNwa01FZWtxMkxNcUcyVnljd1A1d2ZRUjZn?= =?utf-8?B?S2lMNFpWb3FQSFdNenZpOXkzRnk1bExWNFRIUDBOME84Q0ZWWXNtbEtTbVBr?= =?utf-8?B?eklPQ1Jyci9CZXJ6TE8zTEFVWHYwMG1LdWNLUmVQQ0FGek8ybDB6bmRsd0wv?= =?utf-8?B?MHZ1a1FhQlBhbHRlcE1PZDEwRXRSNldEZmpPbUNxbDhxNktJUHZzZmRnQmFa?= =?utf-8?B?eHRLVmJnSHZhUlBSNEE1em9XNWhCOXhsaDE3ZE1VM0dBYnR3WjN5eWhTMnpu?= =?utf-8?Q?dUlJ5YgVemvExTMXmUYFr4Sg8tORWIjl7u?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN2PR11MB4063.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2efc8f07-a6a5-49e5-e927-08d8beb78672 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Jan 2021 09:24:31.5996 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: fG14WiYQ+Qds/aFJSgW7KDoQI3vexodjb1rkZGuRczZnGf0gdD4Cng3pd40IngtqAq0V3EGwpnkrs/i29aLrug== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3566 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2 44/44] net/virtio: handle Virtio-user setup failure properly X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" SGkgTWF4aW1lLA0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IE1heGlt ZSBDb3F1ZWxpbiA8bWF4aW1lLmNvcXVlbGluQHJlZGhhdC5jb20+DQo+IFNlbnQ6IFdlZG5lc2Rh eSwgSmFudWFyeSAyMCwgMjAyMSA1OjI1IEFNDQo+IFRvOiBkZXZAZHBkay5vcmc7IFhpYSwgQ2hl bmJvIDxjaGVuYm8ueGlhQGludGVsLmNvbT47IG9saXZpZXIubWF0ekA2d2luZC5jb207DQo+IGFt b3Jlbm96QHJlZGhhdC5jb207IGRhdmlkLm1hcmNoYW5kQHJlZGhhdC5jb20NCj4gQ2M6IE1heGlt ZSBDb3F1ZWxpbiA8bWF4aW1lLmNvcXVlbGluQHJlZGhhdC5jb20+DQo+IFN1YmplY3Q6IFtQQVRD SCB2MiA0NC80NF0gbmV0L3ZpcnRpbzogaGFuZGxlIFZpcnRpby11c2VyIHNldHVwIGZhaWx1cmUN Cj4gcHJvcGVybHkNCj4gDQo+IFRoaXMgcGF0Y2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