[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Detecting xen



Ed Brown wrote:
Well, anaconda doesn't run with the xen host kernel, so ... :)
How does anaconda make the determination that it is running in a domU?
Existence of /proc/xen/capabilities as Joel said

So the OP's question is answered, and also how to use the content, or lack thereof, of the capabilities file to make a determination outside of anaconda.

It's just curiosity at this point, but I'm looking for a chicken or an egg somewhere, in the loader maybe? /proc/xen/capabilities doesn't exist till the xen kernel is loaded. Where is the magic that knows to load a xen kernel during a domU install?

I don't use xen kernels on some of my guests, even when I have a functional xen host.

It depends on the CPU.


--

Cheers
John

-- spambait
1aaaaaaa coco merseine nu  Z1aaaaaaa coco merseine nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]