Re: Detecting xen

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

 



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@xxxxxxxxxxxxxxxx  Z1aaaaaaa@xxxxxxxxxxxxxxxx
-- 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:-)

_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list

[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux