From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from TX2EHSOBE007.bigfish.com (tx2ehsobe004.messaging.microsoft.com [65.55.88.14]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client CN "mail.global.frontbridge.com", Issuer "Cybertrust SureServer Standard Validation CA" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id AFAF9B6F54 for ; Tue, 12 Jul 2011 02:24:24 +1000 (EST) Date: Mon, 11 Jul 2011 11:24:18 -0500 From: Scott Wood To: Timur Tabi Subject: Re: RFC: top level compatibles for virtual platforms Message-ID: <20110711112418.4db9f41e@schlenkerla.am.freescale.net> In-Reply-To: <4E1B1AAB.8010301@freescale.com> References: <9F6FE96B71CF29479FF1CDC8046E150316EAB6@039-SN1MPN1-003.039d.mgd.msft.net> <9F6FE96B71CF29479FF1CDC8046E150316F97F@039-SN1MPN1-003.039d.mgd.msft.net> <4E1B1AAB.8010301@freescale.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Cc: Wood Scott-B07421 , "linuxppc-dev@ozlabs.org" , Alexander Graf , Gala Kumar-B11780 List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, 11 Jul 2011 10:45:47 -0500 Timur Tabi wrote: > >> Also, if these are KVM creations, shouldn't there be a "kvm" in the compatible string > >> somewhere? > > > > There is nothing KVM specific about these platforms. Any hypervisor > > could create a similar virtual machine. > > True, but I think we're on a slippery slope, here. Virtualization allows us to > create "virtual platforms" that are not well defined. Linux requires a unique > compatible string for each platform. The device tree is supposed to describe the hardware (virtual or otherwise), not just supply what Linux wants. Perhaps there simply shouldn't be a toplevel compatible if there's nothing appropriate to describe there -- and fix whatever issues Linux has with that. > I guess my point is back to the name "corenet". That just doesn't mean anything > to me, and I don't think it means much to anyone else, either. That's why I > think that maybe "kvm" should be in the string, to at least indicate that it's a > virtualized environment. But what about this is specific to kvm (the actual hypervisor info is already described in /hypervisor)? Then we'll have to add a platform match for every other hypervisor out there that does the same thing. -Scott