Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect Hardware info for Xen machines #287

Open
SchoolGuy opened this issue Jan 21, 2025 · 0 comments
Open

Incorrect Hardware info for Xen machines #287

SchoolGuy opened this issue Jan 21, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@SchoolGuy
Copy link
Collaborator

2016-03-31 15:43:20 UTC

If the machine is running Xen, it is possible that dom0 cannot see all of the memory (or CPUs) available on the physical hardware. In this case, the hypervisor has to be queried for the correct information.

For example, xen126 is listed off in Orthos as having 946MB of RAM. In reality, xl info on this machine shows that there is 16GB on the physical machine, and dom0 is simply limited to 1G.

In order to get an accurate view of the hardware, we need the hardware gathering script to take these facts into consideration. If the script finds the xen hypervisor is running (by looking for the existence of /proc/xen, for example), xm info (under SLES10/11) or xl info (under SLES12+) should contain all the details you need to report the right data.

Checking for /proc/xen/privcmd, might be a better choice as that file only exists in dom0.

Beginning with SLES12SP2, kernel-xen is being replaced with a pvops enabled kernel-default. With this change, it will no longer be possible to identify a machine running xen by checking the Kernelversion field.


Migrated from https://bugzilla.suse.com/show_bug.cgi?id=973428

@SchoolGuy SchoolGuy added the bug Something isn't working label Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant