Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp895740yba; Thu, 16 May 2019 10:34:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqwEFpR3gr267mvbU/Uw3w8/T9YhWLQriGHx9mHAIoptvOsBD2DnN9GuAj6X3VF1R2Nmzv0j X-Received: by 2002:aa7:8289:: with SMTP id s9mr55206601pfm.208.1558028087828; Thu, 16 May 2019 10:34:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558028087; cv=none; d=google.com; s=arc-20160816; b=P5sBVajHPUeyXNVIvScA/gzjtJ40GCLbpTTnXeXm296X4raBbc2L/h2ivbpqka4BcT Jzy0YTfluyUGTXgwfb5MfFLbSkiQ2gMSyV3bSlhXkVbMu0MabYXgE2fsU0c0SHoA36Wg NkEy2p6VeGs375a6x9AGi9el7/ptpm5m/hgfHpv2v8IL/34VIUflaCBo+CUz1TZcal/h BR1EAq5/tUf5cSFwDAI/dDZQ5e8EH3BydED1r7ZWXLFPh+/RX3MeFR7VMJR2j9aioh15 gFVut7G0jH3j31gQqzHKlxv+ATeQHAPHwpuE3wPWLblSoFBJsaIH3l5QRtpciXgAEZkM dFWQ== 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=aig0jPNztAGTfLrveYmFoH55ckuO8R7q/yjW4HU7drI=; b=XMyw24sw6jeM2dK1m59JY6GLQ1B1nXnCqc1ebgd8zOzAb47sw5x9h0lgnB069/bj6Y 3goC89eiVTr33mag/6C/ok4RDjfb/sutiOBx8J7+UDXVDx5D0JYwlcpMg/jkyaCAtYzh 1Oaa86HlLmPP79Gj0IK6gMiV07Tyt1Qh9UlhqS8c03M4XGn4tFk1FLNDEBvLnNGBvyxL 6FoWmEhyP5q+7I6YBW376/JmYXaglm3P4zSjiBG1cO1dDJqdfdVusjt7l5vas+ualaPk WSSY87cdoeFx6NEhFRWc+CQvgrbTJojS359sWl0wF6n8vy9ozWkUTTkPogt/1KqZ3UaC S1LQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.de header.s=amazon201209 header.b=iLghvfw7; 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 d40si5500104pla.87.2019.05.16.10.34.29; Thu, 16 May 2019 10:34:47 -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=iLghvfw7; 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 S1727614AbfEPPOY (ORCPT + 99 others); Thu, 16 May 2019 11:14:24 -0400 Received: from smtp-fw-33001.amazon.com ([207.171.190.10]:20354 "EHLO smtp-fw-33001.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727109AbfEPPOY (ORCPT ); Thu, 16 May 2019 11:14:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.de; i=@amazon.de; q=dns/txt; s=amazon201209; t=1558019662; x=1589555662; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:mime-version: content-transfer-encoding; bh=aig0jPNztAGTfLrveYmFoH55ckuO8R7q/yjW4HU7drI=; b=iLghvfw7DmDA9oQ8+pD3fZJ8tfQBAcqoTsSof03pQz5NQtxfIF5gZNze 77VeFBmdUtotNCjrQa0lMLfgbEp/m1BkHc2jKKfHt8pyY0T+/84schARa 7RNr3cdBwry6M0njpPMlqe1BxVLxXLmBvLAi/oQPqpwUiET3aCQynh8x0 o=; X-IronPort-AV: E=Sophos;i="5.60,477,1549929600"; d="scan'208";a="800025988" Received: from sea3-co-svc-lb6-vlan2.sea.amazon.com (HELO email-inbound-relay-2a-6e2fc477.us-west-2.amazon.com) ([10.47.22.34]) by smtp-border-fw-out-33001.sea14.amazon.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 16 May 2019 15:14:18 +0000 Received: from EX13MTAUEA001.ant.amazon.com (pdx1-ws-svc-p6-lb9-vlan3.pdx.amazon.com [10.236.137.198]) by email-inbound-relay-2a-6e2fc477.us-west-2.amazon.com (8.14.7/8.14.7) with ESMTP id x4GFEEo0036922 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Thu, 16 May 2019 15:14:18 GMT Received: from EX13D02EUC003.ant.amazon.com (10.43.164.10) by EX13MTAUEA001.ant.amazon.com (10.43.61.243) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Thu, 16 May 2019 15:14:17 +0000 Received: from EX13D02EUC001.ant.amazon.com (10.43.164.92) by EX13D02EUC003.ant.amazon.com (10.43.164.10) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Thu, 16 May 2019 15:14:16 +0000 Received: from EX13D02EUC001.ant.amazon.com ([10.43.164.92]) by EX13D02EUC001.ant.amazon.com ([10.43.164.92]) with mapi id 15.00.1367.000; Thu, 16 May 2019 15:14:16 +0000 From: "Sironi, Filippo" To: Boris Ostrovsky CC: "Graf, Alexander" , Andrew Cooper , LKML , "kvm@vger.kernel.org" , "borntraeger@de.ibm.com" , "cohuck@redhat.com" , "konrad.wilk@oracle.com" , "xen-devel@lists.xenproject.org" Subject: Re: [Xen-devel] [PATCH v2 1/2] KVM: Start populating /sys/hypervisor with KVM entries Thread-Topic: [Xen-devel] [PATCH v2 1/2] KVM: Start populating /sys/hypervisor with KVM entries Thread-Index: AQHVCmguTMwTmVyYP0+tMrT8Z/dQMaZtx8qAgAADQgCAAAG8gIAADxmAgAADWQA= Date: Thu, 16 May 2019 15:14:16 +0000 Message-ID: <649AEBAC-8408-4BC0-AA22-F721CC23648D@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> <7aae3e49-5b1c-96d1-466e-5b061305dc9d@citrix.com> <22fadfb1-e48d-ccb6-0e42-c105b7335d7a@amazon.com> <92f2f186-2e29-d798-84bd-7209e874f103@oracle.com> In-Reply-To: <92f2f186-2e29-d798-84bd-7209e874f103@oracle.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.43.165.224] Content-Type: text/plain; charset="us-ascii" Content-ID: <6E2A8B9BB2A14F4E92BDE4A9FB721974@amazon.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On 16. May 2019, at 17:02, Boris Ostrovsky w= rote: > = > On 5/16/19 10:08 AM, Alexander Graf wrote: >> = >> My point is mostly that we should be as common >> as possible when it comes to /sys/hypervisor, so that tools don't have >> to care about the HV they're working against. > = > It might make sense to have a common sys-hypervisor.c file > (drivers/hypervisor/sys-hypervisor.c or some such), with > hypervisor-specific ops/callbacks/etc. > = > -boris Yes, it definitely does. I would follow up with future patches to make it happen. Filippo Amazon Development Center Germany GmbH Krausenstr. 38 10117 Berlin Geschaeftsfuehrer: Christian Schlaeger, Ralf Herbrich Ust-ID: DE 289 237 879 Eingetragen am Amtsgericht Charlottenburg HRB 149173 B