Re: Detecting xen

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

 



just check for the /proc/xen/capabilities file.

Sounds like the OP is looking to distinguish xen guests. The file above is also present on hosts, or any system running a xen kernel I'd guess. Can this file also be used to reliably distinguish between guests and non-guests? On the few systems I've got to check against, the capabilities file contains: "control_d" on hosts, while on all (pv) guests, the file is empty.

Also I don't know how reliable, this is, or will remain, but xen guests are the only systems I've got where 'lspci' returns nothing (successfully).

-Ed

_______________________________________________
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