Detecting xen

Ed Brown ebrown at lanl.gov
Wed Jun 4 22:30:53 UTC 2008


>>> 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




More information about the Kickstart-list mailing list