Thread (15 messages) 15 messages, 5 authors, 2011-07-12

Re: RFC: top level compatibles for virtual platforms

From: Timur Tabi <hidden>
Date: 2011-07-11 17:54:32

Scott Wood wrote:
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.
That might be the way to go.  I wonder if we can get rid of the platform file
altogether, at least in some situations.
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.
I don't know enough about KVM to answer that question.

Frankly, I like the approach that Topaz takes -- add a "-hv" to the real
hardware platform.  The only drawback is that each platform needs to add support
for virtualization, but we already have this problem with Topaz today.

-- 
Timur Tabi
Linux kernel developer at Freescale
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help