From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760055AbdEVPwl (ORCPT ); Mon, 22 May 2017 11:52:41 -0400 Received: from mx2.suse.de ([195.135.220.15]:51808 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1760058AbdEVPwg (ORCPT ); Mon, 22 May 2017 11:52:36 -0400 Subject: Re: [Xen-devel] [PATCH 2/2] xen: add sysfs node for guest type To: Jan Beulich Cc: xen-devel@lists.xenproject.org, boris.ostrovsky@oracle.com, Konrad Rzeszutek Wilk , linux-kernel@vger.kernel.org References: <20170522085700.488-1-jgross@suse.com> <20170522085700.488-3-jgross@suse.com> <20170522152325.GF1030@char.us.oracle.com> <592321E4020000780015BD0E@suse.com> From: Juergen Gross Message-ID: Date: Mon, 22 May 2017 17:52:33 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 MIME-Version: 1.0 In-Reply-To: <592321E4020000780015BD0E@suse.com> Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 22/05/17 17:37, Jan Beulich wrote: >>>> On 22.05.17 at 17:28, wrote: >> On 22/05/17 17:23, Konrad Rzeszutek Wilk wrote: >>> On Mon, May 22, 2017 at 10:57:00AM +0200, Juergen Gross wrote: >>>> --- a/Documentation/ABI/testing/sysfs-hypervisor >>>> +++ b/Documentation/ABI/testing/sysfs-hypervisor >>>> @@ -19,6 +19,19 @@ Contact: xen-devel@lists.xenproject.org >>>> Description: >>>> Compiler which was used to build the Xen hypervisor >>>> >>>> +What: /sys/hypervisor/guest_type >>>> +Date: May 2017 >>>> +KernelVersion: 4.12 >>>> +Contact: xen-devel@lists.xenproject.org >>>> +Description: >>>> + Type of guest: >>>> + "native": standard guest type on arm >>>> + "HVM": fully virtualized guest (x86) >>>> + "PV": paravirtualized guest (x86) >>>> + "PVH": fully virtualized guest without legacy emulation (x86) >>>> + "PVHVM": fully virtualized guest using paravirtualized >>>> + interfaces (e.g. interrupts, timers) (x86) >>> >>> What about KVM? Shouldn't that also be here? >> >> /sys/hypervisor is Xen-only (at least up to now). > > How that? It's being created by drivers/base/hypervisor.c, > and iirc had been introduced for s390 originally. Hmm, cscope fooled me. Maybe it should build the data base for all architectures... Thanks for the note! Juergen