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

Re: Detecting xen



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?

Hoping it's not a completely misguided question,
Ed


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