Received: by 10.192.165.148 with SMTP id m20csp101444imm; Fri, 20 Apr 2018 03:50:45 -0700 (PDT) X-Google-Smtp-Source: AIpwx49NMCvLD2DrS0adhwfcBRZHKTPtTDKSqJFhtQvq+TL80I26UxLplpBUkX5Iv3d9s2bcaXnc X-Received: by 10.98.135.206 with SMTP id i197mr9279616pfe.52.1524221445868; Fri, 20 Apr 2018 03:50:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524221445; cv=none; d=google.com; s=arc-20160816; b=ZIUJADmk6P/4/WLf168W76/e2KpI7CoBnLwvA9c2FhrRpDREgfL9maVrySmk705h+D IPcMV33DOz4365tt53iDPb3GiAyjmaLdefl+IcNebAAMvWXUa9TY/XJZdXwFAgGq+m5P 20UW49C41QyJLn43cI6mLpXEC8zY7l1WJxaAx71Ag6C9n7Lq8xGb5RKlzlwFhi1ZAE2R QHiHD8eM5Mugaa7niLM4lOgrarRRt25aR0JNe0ih64UvCbg0TeUJEFRhV/iCeflLOBet FcNoPHVGCqP5Q+g0KKqENC3hZKCKOfa9Q8Z+9V1P8HqHzQF38cyDu9cmAj75omBHp1tn jKag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:cc:from:subject :dkim-signature:arc-authentication-results; bh=OvS0iPkc8GY8oClW/nODLXbbo6QHTTLHCQJwk+8WaIs=; b=JxYR+extFyAOFJErmb09VIxT9T3TVPzq+UhuEa/XnAkUz4BCyi+E54svlMze0R/fBq qUgigHAfLz7s47xZ12xnV2f2tv8KusLn1cBn3nwhMK1WyBEhnNBRJdVPcNAtfsPnaRhI Sej51tplPWMU+QpkPSW2vSvBQm4rqh+yHrdahyrMR++kOsyHmqSq56d9mfYzNeoaOFAt y2BJt4LFe6RCEzr3ayIFR1R5LQAYo0ZGJroKFBaKXYaNRKZ8JRsfORThvQHeG/hty+N8 TWDclt+FlGmKqR5vCTYvASKsBBCjFDZR7wf3JTn5Qhh6lVvks5sZejlxEdFFjHmDv9dB zQbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=pt+sGNK0; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a2si4988495pgc.18.2018.04.20.03.50.31; Fri, 20 Apr 2018 03:50:45 -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; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=pt+sGNK0; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754698AbeDTKrx (ORCPT + 99 others); Fri, 20 Apr 2018 06:47:53 -0400 Received: from smtp-fw-9101.amazon.com ([207.171.184.25]:51383 "EHLO smtp-fw-9101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754639AbeDTKru (ORCPT ); Fri, 20 Apr 2018 06:47:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1524221270; x=1555757270; h=subject:from:cc:date:message-id:in-reply-to:references: mime-version:content-transfer-encoding; bh=OvS0iPkc8GY8oClW/nODLXbbo6QHTTLHCQJwk+8WaIs=; b=pt+sGNK0+PgsTjLYfCsjbNiLA9JVSqvzO5GMYQkZgp/ay9cPRb9IX6qe QzNYv4SHdXLi1DSB9ErGiSFgNdbwEq2U9RzlyKQjTYtWoperYaUVWR6gO 8NpAmfW4EGs0XLyzLFNMz5xwfKRCSM4EgYS1S9zc7Lmbbn/Ajwc5IoH0T g=; X-IronPort-AV: E=Sophos;i="5.49,300,1520899200"; d="scan'208";a="736319511" Received: from sea3-co-svc-lb6-vlan3.sea.amazon.com (HELO email-inbound-relay-2b-5bdc5131.us-west-2.amazon.com) ([10.47.22.38]) by smtp-border-fw-out-9101.sea19.amazon.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 20 Apr 2018 10:47:49 +0000 Received: from EX13MTAUEB001.ant.amazon.com (pdx1-ws-svc-p6-lb9-vlan2.pdx.amazon.com [10.236.137.194]) by email-inbound-relay-2b-5bdc5131.us-west-2.amazon.com (8.14.7/8.14.7) with ESMTP id w3KAljTF054599 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Fri, 20 Apr 2018 10:47:47 GMT Received: from EX13D08UEB002.ant.amazon.com (10.43.60.107) by EX13MTAUEB001.ant.amazon.com (10.43.60.129) with Microsoft SMTP Server (TLS) id 15.0.1236.3; Fri, 20 Apr 2018 10:47:31 +0000 Received: from EX13MTAUEB001.ant.amazon.com (10.43.60.96) by EX13D08UEB002.ant.amazon.com (10.43.60.107) with Microsoft SMTP Server (TLS) id 15.0.1236.3; Fri, 20 Apr 2018 10:47:31 +0000 Received: from dev-dsk-staskins-1a-ca5afbf2.eu-west-1.amazon.com (10.15.108.121) by mail-relay.amazon.com (10.43.60.129) with Microsoft SMTP Server id 15.0.1236.3 via Frontend Transport; Fri, 20 Apr 2018 10:47:31 +0000 Received: from dev-dsk-staskins-1a-ca5afbf2.eu-west-1.amazon.com (localhost [127.0.0.1]) by dev-dsk-staskins-1a-ca5afbf2.eu-west-1.amazon.com (Postfix) with ESMTP id 2510CA027C; Fri, 20 Apr 2018 10:47:31 +0000 (UTC) Subject: [PATCH 2/3] xen netback: add fault injection facility From: Stanislav Kinsburskii CC: , , , , , , , , , , , , , , , , , , , , , , , , Date: Fri, 20 Apr 2018 10:47:31 +0000 Message-ID: <20180420104731.17823.97617.stgit@dev-dsk-staskins-1a-ca5afbf2.eu-west-1.amazon.com> In-Reply-To: <20180420104603.17823.31095.stgit@dev-dsk-staskins-1a-ca5afbf2.eu-west-1.amazon.com> References: <20180420104603.17823.31095.stgit@dev-dsk-staskins-1a-ca5afbf2.eu-west-1.amazon.com> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org VGhpcyBwYXRjaCBhZGRzIHdyYXBwZXIgaGVscGVycyBhcm91bmQgZ2VuZXJpYyBYZW4gZmF1bHQg aW5qZWN0IGZhY2lsaXR5LgpUaGUgbWFqb3IgcmVhc29uIGlzIHRvIGtlZXAgYWxsIHRoZSBtb2R1 bGUgZmF1bHQgaW5qZWN0aW9uIGRpcmVjdG9yaWVzCmluIGEgZGVkaWNhdGVkIHN1YmRpcmVjdG9y eSBpbnN0ZWFkIG9mIFhlbiBmYXVsdCBpbmplY3Qgcm9vdC4KCklPVywgd2hlbiB1c2luZyB0aGVz ZSBoZWxwZXJzLCBwZXItZGV2aWNlIGFuZCBuYW1lZCBieSBkZXZpY2UgbmFtZSBmYXVsdAppbmpl Y3Rpb24gY29udHJvbCBkaXJlY3RvcmllcyB3aWxsIGFwcGVhciB1bmRlciB0aGUgZm9sbG93aW5n IGRpcmVjdG9yeToKLSAvc3lzL2tlcm5lbC9kZWJ1Zy94ZW4vZmF1bHRfaW5qZWN0L3hlbi1uZXRi YWNrLwppbnN0ZWFkIG9mOgotIC9zeXMva2VybmVsL2RlYnVnL3hlbi9mYXVsdF9pbmplY3QvCgpT aWduZWQtb2ZmLWJ5OiBTdGFuaXNsYXYgS2luc2J1cnNraW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