Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp337415ybi; Fri, 31 May 2019 02:13:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqxMQLbac3buzU7XW5i6UfCvLON5C+i9+Zoym4+1BCEXuoMa3SO5Xw9wimSAr5DQdbs9QIqh X-Received: by 2002:a17:90a:cb05:: with SMTP id z5mr3071466pjt.87.1559294033551; Fri, 31 May 2019 02:13:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559294033; cv=none; d=google.com; s=arc-20160816; b=JFwi/EBJ7UHsW0uBryclcmM7N6QUXEWL1fQSM7jyA3RcSW0mMa9lWpPgOP+g7fowBx hg42DkKjNbMq4O1SWuhgzZNfwuj/MHRpQEpwccTVxFot32FxzlvuFxMYH0wcs5gFyCS3 s8OTCerHlABzOKXWAoeeK/kS0Z4C7To3iXi5WiBkMS4+9sj4LnqdAkUMzI9Z8/ywYxJx BCQEDNoGObDp4GQtp83TPZks1oK7vK/3G8eblmNZSmKSe6owogGUjMpoiGPzQKutcXsn xrT3YwzV4FdBPB8t7V9Z6TieGLAsnSuR3IAZQEH7FDoqs2yrnoW9JEVjCsJATxGPCc+C h52w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=3bNclZB2YOLq54Np5GxnnxbsdVXRE+YAkevMXFYDtao=; b=SdwyMrcWxW20XJ144Ovqke4bBLNvMZbAcvsNSNPf+EUxtxM/jacOEjLH00u6bMj3Ye aDtDbVJd4k3SheQHx2cq/YuBrUYyBeoWl5t3aQebtJoX82+r4zCHUjzWXexfPe/ct/pX x3CVH72TXaDhtZwnN8eh0cyenBEeET/OVsXTDRLOfvIBHr8BlmS/tpk+rtUXhSqZXbEs WHP9ROeIOQGEiol/rJBb42HEN2rcfyzoxfcdQiPtjkHVvKsXhHWI4465+j6/6ioHx7Xk +ounFXWoYMclx1OEWVRwSe4yMoxgDMna5jT9iRhyfxQ/tCscZIPEFOEjHyRF7t+RX+OG UbdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.de header.s=amazon201209 header.b=NWHIMt9E; 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.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k1si4960105pjt.61.2019.05.31.02.13.35; Fri, 31 May 2019 02:13:53 -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.de header.s=amazon201209 header.b=NWHIMt9E; 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.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726853AbfEaJML (ORCPT + 99 others); Fri, 31 May 2019 05:12:11 -0400 Received: from smtp-fw-2101.amazon.com ([72.21.196.25]:38837 "EHLO smtp-fw-2101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726002AbfEaJML (ORCPT ); Fri, 31 May 2019 05:12:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.de; i=@amazon.de; q=dns/txt; s=amazon201209; t=1559293929; x=1590829929; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:mime-version: content-transfer-encoding; bh=3bNclZB2YOLq54Np5GxnnxbsdVXRE+YAkevMXFYDtao=; b=NWHIMt9E7qZZ/H4ghJmywogxnaXUc7Bl8zZr/3rkv+hyVkEQsGzx7wA3 oKqYs2Nmo4lRKVpGSS6sfbB4oFe2AlRL1o8MgZ589FOvg6o5My9USobhJ bWd3i1FMlqXzvCZS94kOVtlz0zbMgTn6jkjBXSvB5rKC7u8Gj4KVQE8GH E=; X-IronPort-AV: E=Sophos;i="5.60,534,1549929600"; d="scan'208";a="735510865" Received: from iad6-co-svc-p1-lb1-vlan2.amazon.com (HELO email-inbound-relay-1e-c7c08562.us-east-1.amazon.com) ([10.124.125.2]) by smtp-border-fw-out-2101.iad2.amazon.com with ESMTP; 31 May 2019 09:12:08 +0000 Received: from EX13MTAUEA001.ant.amazon.com (iad55-ws-svc-p15-lb9-vlan2.iad.amazon.com [10.40.159.162]) by email-inbound-relay-1e-c7c08562.us-east-1.amazon.com (Postfix) with ESMTPS id 406B524270A; Fri, 31 May 2019 09:12:05 +0000 (UTC) Received: from EX13D01EUB004.ant.amazon.com (10.43.166.180) by EX13MTAUEA001.ant.amazon.com (10.43.61.243) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Fri, 31 May 2019 09:12:04 +0000 Received: from EX13D01EUB003.ant.amazon.com (10.43.166.248) by EX13D01EUB004.ant.amazon.com (10.43.166.180) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Fri, 31 May 2019 09:12:04 +0000 Received: from EX13D01EUB003.ant.amazon.com ([10.43.166.248]) by EX13D01EUB003.ant.amazon.com ([10.43.166.248]) with mapi id 15.00.1367.000; Fri, 31 May 2019 09:12:03 +0000 From: "Raslan, KarimAllah" To: "Sironi, Filippo" , "Graf, Alexander" CC: "boris.ostrovsky@oracle.com" , "linux-kernel@vger.kernel.org" , "kvm@vger.kernel.org" , "cohuck@redhat.com" , "konrad.wilk@oracle.com" , "borntraeger@de.ibm.com" , "christoffer.dall@linaro.org" , "Marc.Zyngier@arm.com" , "xen-devel@lists.xenproject.org" Subject: Re: [PATCH v2 1/2] KVM: Start populating /sys/hypervisor with KVM entries Thread-Topic: [PATCH v2 1/2] KVM: Start populating /sys/hypervisor with KVM entries Thread-Index: AQHVF5A0AEnBVqds/UWWKNg1ZPSkZKaE8rAA Date: Fri, 31 May 2019 09:12:03 +0000 Message-ID: <1559293922.14762.2.camel@amazon.de> References: <1539078879-4372-1-git-send-email-sironi@amazon.de> <1557847002-23519-1-git-send-email-sironi@amazon.de> <1557847002-23519-2-git-send-email-sironi@amazon.de> <3D2C4EE3-1C2E-4032-9964-31A066E542AA@amazon.de> <6b3dadf9-6240-6440-b784-50bec605bf2c@amazon.com> In-Reply-To: <6b3dadf9-6240-6440-b784-50bec605bf2c@amazon.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.43.164.53] Content-Type: text/plain; charset="utf-8" Content-ID: <2CCBC2BB6465434FA03C3C01B59CEAA9@amazon.com> MIME-Version: 1.0 Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gRnJpLCAyMDE5LTA1LTMxIGF0IDExOjA2ICswMjAwLCBBbGV4YW5kZXIgR3JhZiB3cm90ZToN Cj4gT24gMTcuMDUuMTkgMTc6NDEsIFNpcm9uaSwgRmlsaXBwbyB3cm90ZToNCj4gPiANCj4gPiA+ IA0KPiA+ID4gT24gMTYuIE1heSAyMDE5LCBhdCAxNTo1MCwgR3JhZiwgQWxleGFuZGVyIDxncmFm QGFtYXpvbi5jb20+IHdyb3RlOg0KPiA+ID4gDQo+ID4gPiBPbiAxNC4wNS4xOSAwODoxNiwgRmls aXBwbyBTaXJvbmkgd3JvdGU6DQo+ID4gPiA+IA0KPiA+ID4gPiBTdGFydCBwb3B1bGF0aW5nIC9z eXMvaHlwZXJ2aXNvciB3aXRoIEtWTSBlbnRyaWVzIHdoZW4gd2UncmUgcnVubmluZyBvbg0KPiA+ ID4gPiBLVk0uIFRoaXMgaXMgd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